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

public class Entry extends GameElement
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

    Constructors
    Constructor
    Description
    Entry(com.badlogic.gdx.physics.box2d.World world, com.badlogic.gdx.math.Vector2 position, GameScreen game)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    render(com.badlogic.gdx.graphics.g2d.SpriteBatch spriteBatch)
    Renders the appearance of the game object
    void
    update(float deltaTime)
    Updates the Object

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class GameElement
    • update

      public void update(float deltaTime)
      Description copied from class: GameElement
      Updates the Object
      Specified by:
      update in class GameElement
      Parameters:
      deltaTime - Time since last frame.
    • dispose

      public void dispose()