Class BouncerMemento
java.lang.Object
de.tum.cit.fop.maze.game_saves.mementos.GameObjectMemento
de.tum.cit.fop.maze.game_saves.mementos.BouncerMemento
- All Implemented Interfaces:
Memento
Memento storing Bouncer enemy state including remaining lives.
-
Field Summary
FieldsFields inherited from class de.tum.cit.fop.maze.game_saves.mementos.GameObjectMemento
animationType, objectType, positionX, positionY, speed, velocityX, velocityY -
Constructor Summary
ConstructorsConstructorDescriptionBouncerMemento(float positionX, float positionY, float velocityX, float velocityY, float speed, String animationType, int lives) -
Method Summary
-
Field Details
-
lives
public int lives
-
-
Constructor Details
-
BouncerMemento
public BouncerMemento() -
BouncerMemento
public BouncerMemento(float positionX, float positionY, float velocityX, float velocityY, float speed, String animationType, int lives)
-