Package engine.entity
Class Player
java.lang.Object
engine.entity.AbstractEntity
engine.entity.Player
- All Implemented Interfaces:
Comparable<AbstractEntity>
-
Field Summary
Fields inherited from class engine.entity.AbstractEntity
hurtColor -
Constructor Summary
ConstructorsConstructorDescriptionPlayer(Room room, processing.core.PImage img, AbstractMove move, AbstractAbility[] abilities, int[][] colorLayers, int[] colorTints) -
Method Summary
Methods inherited from class engine.entity.AbstractEntity
addX, addXY, addY, calculateHash, compareTo, equals, getAbilities, getAnimator, getColorList, getH, getHash, getID, getImg, getMoveSet, getMoveSetType, getOverDir, getOverState, getPotential, getRH, getRoom, getRoomList, getRW, getRX, getRY, getW, getX, getXY, getXYWH, getY, isBreakable, isTangible, setOverDir, setOverState, setX, setXY, setY, show, toString
-
Constructor Details
-
Player
public Player(Room room, processing.core.PImage img, AbstractMove move, AbstractAbility[] abilities, int[][] colorLayers, int[] colorTints)
-
-
Method Details
-
update
public void update()- Overrides:
updatein classAbstractEntity
-
interact
- Specified by:
interactin classAbstractEntity
-
getType
- Specified by:
getTypein classAbstractEntity
-
isDelete
public boolean isDelete()- Specified by:
isDeletein classAbstractEntity
-
isMarked
public boolean isMarked()- Specified by:
isMarkedin classAbstractEntity
-
getTrigger
- Specified by:
getTriggerin classAbstractEntity
-