Package engine.entity.entities
Class Interaction
java.lang.Object
engine.entity.Entity
engine.entity.Trigger
engine.entity.entities.Interaction
- All Implemented Interfaces:
Comparable<Entity>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInteraction(float x, float y, float w, float h, Entity i, Ability a, Triggers t) -
Method Summary
Modifier and TypeMethodDescriptionstatic InteractioncreateInteraction(engine.Room r, Move m, Entity e, Ability a, Triggers t) booleanisDelete()booleanisMarked()voidshow()voidupdate()Methods inherited from class engine.entity.Trigger
getCastDir, getCaster, getCastID, getTrigger, getType, interactMethods inherited from class engine.entity.Entity
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, toString
-
Field Details
-
a
-
t
-
-
Constructor Details
-
Interaction
-
-
Method Details
-
createInteraction
-
update
public void update() -
show
public void show() -
getTriggerType
- Specified by:
getTriggerTypein classTrigger
-
isDelete
public boolean isDelete() -
isMarked
public boolean isMarked()
-