Package tiles

Class Tilesystem

java.lang.Object
tiles.Tilesystem

public class Tilesystem extends Object
  • Field Details

    • map

      public int[] map
  • Constructor Details

    • Tilesystem

      public Tilesystem(Spritesheet a, Spritesheet b, int xTiles, int yTiles, int width, int height, int[] layers)
  • Method Details

    • getAt

      public int getAt(int x, int y, int dimensionWidth)
    • getIndex

      public int[] getIndex(int worldX, int worldY)