Class TestBattleMap

  • All Implemented Interfaces:
    Tickable

    public class TestBattleMap
    extends Map
    • Constructor Detail

      • TestBattleMap

        public TestBattleMap()
    • Method Detail

      • spawnMonster

        public void spawnMonster​(int x,
                                 int y)
      • render

        public void render​(org.newdawn.slick.Graphics graphics)
        Description copied from class: Map
        Renders the map's contents
        Specified by:
        render in class Map
        Parameters:
        graphics - The graphics to use
      • onPlayerEnter

        public void onPlayerEnter()
        Description copied from class: Map
        Called when the player enters the map
        Specified by:
        onPlayerEnter in class Map
      • onPlayerLeave

        public void onPlayerLeave()
        Description copied from class: Map
        Called when the player leaves the map
        Specified by:
        onPlayerLeave in class Map
      • tick

        public void tick()