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
ConstructorDescriptionEntry
(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:GameElement
Renders the appearance of the game object- Specified by:
render
in classGameElement
-
update
public void update(float deltaTime) Description copied from class:GameElement
Updates the Object- Specified by:
update
in classGameElement
- Parameters:
deltaTime
- Time since last frame.
-
dispose
public void dispose()
-