Class Wall

java.lang.Object
de.tum.cit.ase.maze.objects.still.Wall
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class Wall extends Object implements com.badlogic.gdx.utils.Disposable
The Wall class represents a wall object in the game. Walls can be either outside walls or inside walls. They are used to create the level layout and provide collision boundaries for the player.
  • Field Details

    • height

      public static int height
    • width

      public static int width
  • Constructor Details

    • Wall

      public Wall(List<com.badlogic.gdx.math.Vector2> map, com.badlogic.gdx.graphics.g2d.SpriteCache spriteCache, com.badlogic.gdx.physics.box2d.World world)
  • Method Details

    • render

      public void render()
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • getOutsideWalls

      public List<com.badlogic.gdx.math.Vector2> getOutsideWalls()
    • getInsideWalls

      public List<com.badlogic.gdx.math.Vector2> getInsideWalls()
    • getFullWalls

      public List<com.badlogic.gdx.math.Vector2> getFullWalls()