Package org.collebol.game.objects.entity
Class Entity
java.lang.Object
org.collebol.utils.EngineObject
org.collebol.game.GameObject
org.collebol.game.objects.entity.Entity
- Direct Known Subclasses:
Player
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGameLocation is the location in game.voidsetGameLocation(GameLocation location) GameLocation is the location in game.abstract voidupdate()Methods inherited from class org.collebol.game.GameObject
getVelocity, setVelocityMethods inherited from class org.collebol.utils.EngineObject
getTexture, getVector, setTexture, setVector
-
Constructor Details
-
Entity
public Entity()
-
-
Method Details
-
getGameLocation
Description copied from class:GameObjectGameLocation is the location in game.- Overrides:
getGameLocationin classGameObject- Returns:
- game location
-
setGameLocation
Description copied from class:GameObjectGameLocation is the location in game.- Overrides:
setGameLocationin classGameObject- Parameters:
location- game location. not Vector2D.
-
update
public abstract void update()
-