Documentation
¶
Index ¶
Constants ¶
View Source
const SCALE = 4
SCALE is the default scale for each drawn tile within each tilemap.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tile ¶
type Tile struct { // ecs.BasicEntity to save the unique ID // of the specific tile. ecs.BasicEntity // common.RenderComponent to store the // drawable for the tile object. common.RenderComponent // common.SpaceComponent to save the // tile's position and rotation. common.SpaceComponent }
Tile will contain data required to draw a full tilemap
Click to show internal directories.
Click to hide internal directories.