|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivatableObject
Game objects that can be activated and deactivated have to implement this interface.
Method Summary | |
---|---|
void |
activate()
Calling this method activates this object. |
void |
deactivate()
Calling this method deactivates this object. |
boolean |
isActivated()
|
void |
toggle()
Calling this method toggles the object state between activated and deactivated. |
Methods inherited from interface moagg.model.object.MoaggGameObject |
---|
getHeight, getID, getPositionRectangle, getSpeed, getWidth, getX, getY, hide, isVisible, setID, setSpeed, setSpeed, setX, setY, show |
Method Detail |
---|
boolean isActivated()
void activate()
void deactivate()
void toggle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |