-
Couldn't load subscription status.
- Fork 2
Tile
sirrandalot edited this page Mar 8, 2018
·
1 revision
Tile is mainly a helper class for creating a Tileset, since everything is encoded as int arrays. It is however useful as an organizational tool.
- The values for each "pixel" of the Tile. Currently only 0 and 1 are supported (background and foreground).
- The width of the Tile.
- The height of the Tile
- Takes a tile width, a tile height and an array of values to use.
- Takes a width and height and creates a blank (all background) Tile.