Interface Scene


  • public interface Scene
    Represents the entire 3D scene
    • Method Detail

      • getTiles

        Tile[][][] getTiles()
        Gets the tiles in the scene
        Returns:
        the tiles in [plane][x][y]
      • getDrawDistance

        int getDrawDistance()
      • setDrawDistance

        void setDrawDistance​(int drawDistance)
      • getMinLevel

        int getMinLevel()
        Get the minimum scene level which will be rendered
        Returns:
        the plane of the minimum level
      • setMinLevel

        void setMinLevel​(int minLevel)
        Set the minimum scene level which will be rendered
        Parameters:
        minLevel - the plane of the minimum level
      • removeGameObject

        void removeGameObject​(GameObject gameObject)
        Remove a game object from the scene
        Parameters:
        gameObject -
      • generateHouses

        void generateHouses()
      • setRoofRemovalMode

        void setRoofRemovalMode​(int flags)
      • getUnderlayIds

        byte[][][] getUnderlayIds()
        Get the underlay ids for the scene. The value stored is id + 1, with 0 for no underlay.
        Returns:
      • getOverlayIds

        byte[][][] getOverlayIds()
        Get the overlay ids for the scene. The value stored is id + 1, with 0 for no overlay.
        Returns:
      • getTileShapes

        byte[][][] getTileShapes()
        Get the shapes of the tiles for the scene.
        Returns: