Class Entry
java.lang.Object
de.tum.cit.ase.maze.objects.GameElement
de.tum.cit.ase.maze.objects.still.Entry
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
Defines the entry of the game. Cant be passed.
-
Field Summary
Fields inherited from class de.tum.cit.ase.maze.objects.GameElement
body, texture, world -
Constructor Summary
ConstructorsConstructorDescriptionEntry(com.badlogic.gdx.physics.box2d.World world, com.badlogic.gdx.math.Vector2 position, GameScreen game) -
Method Summary
-
Constructor Details
-
Entry
public Entry(com.badlogic.gdx.physics.box2d.World world, com.badlogic.gdx.math.Vector2 position, GameScreen game)
-
-
Method Details
-
render
public void render(com.badlogic.gdx.graphics.g2d.SpriteBatch spriteBatch) Description copied from class:GameElementRenders the appearance of the game object- Specified by:
renderin classGameElement
-
update
public void update(float deltaTime) Description copied from class:GameElementUpdates the Object- Specified by:
updatein classGameElement- Parameters:
deltaTime- Time since last frame.
-
dispose
public void dispose()
-