Class StaticGameLayers

java.lang.Object
games.stendhal.client.StaticGameLayers

public class StaticGameLayers extends Object
This class stores the layers that make the floor and the buildings.
  • Constructor Details

    • StaticGameLayers

      public StaticGameLayers()
  • Method Details

    • getDangerLevel

      public double getDangerLevel()
      Get the danger level of the current zone.
      Returns:
      danger level
    • getWidth

      public double getWidth()
      Returns:
      width in world units.
    • getHeight

      public double getHeight()
      Returns:
      the height in world units
    • setZone

      public void setZone(Zone zone)
      Set the current zone.
      Parameters:
      zone -
    • getAreaName

      public String getAreaName()
      Get the area name.
      Returns:
      area name
    • getReadableName

      public String getReadableName()
      Get the user representable name of the current zone.
      Returns:
      user readable zone name
    • getCollisionDetection

      public CollisionDetection getCollisionDetection()
      Returns:
      the CollisionDetection Layer for the current map
    • getProtectionDetection

      public CollisionDetection getProtectionDetection()
      Returns:
      the ProtectionDetection Layer for the current map