Class MapTile

  • public class MapTile
    extends java.lang.Object
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String GRASS  
      static java.lang.String GRASS_PATH_1  
      static java.lang.String GRASS_PATH_2  
      java.lang.String id  
      org.newdawn.slick.Image image  
      static java.lang.String SAND  
    • Constructor Summary

      Constructor Description
      MapTile​(java.lang.String id)  
      MapTile​(java.lang.String id, org.newdawn.slick.Image image)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void rotate()  
      void rotate​(float angle)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapTile

        public MapTile​(java.lang.String id)
      • MapTile

        public MapTile​(java.lang.String id,
                       org.newdawn.slick.Image image)
    • Method Detail

      • rotate

        public void rotate()
      • rotate

        public void rotate​(float angle)