graphics

package
v0.0.0-...-88f0a41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2019 License: MIT Imports: 3 Imported by: 0

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

func GetBoardImage() *ebiten.Image

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

func UpdateBoardImage(board *models.Board)

UpdateBoardImage receives a board and updates the board image accordingly

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL