Documentation
¶
Index ¶
Constants ¶
View Source
const TotalHeight = tileHeight * models.BoardHeight
TotalHeight of the board in pixels
View Source
const TotalWidth = tileWidth * models.BoardWidth
TotalWidth of the board in pixels
Variables ¶
This section is empty.
Functions ¶
func GetBoardImage ¶
GetBoardImage returns a reference to the board image
func InitBoardImage ¶
func InitBoardImage()
InitBoardImage initializes the image that we will be drawing on and the initial cell images
func UpdateBoardImage ¶
UpdateBoardImage receives a board and updates the board image accordingly
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.