Package tiles
Class Tilesystem
java.lang.Object
tiles.Tilesystem
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTilesystem
(Spritesheet a, Spritesheet b, int xTiles, int yTiles, int width, int height, int[] layers) -
Method Summary
-
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)
-