drawing

package
v0.0.0-...-3fd9c7e Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawBerry

func DrawBerry(win *pixelgl.Window, imd *imdraw.IMDraw, gameCFG *game.Config, berry pixel.Vec)

DrawBerry draws the berry shape

func DrawGameBackground

func DrawGameBackground(win *pixelgl.Window, imd *imdraw.IMDraw, gameCFG *game.Config)

DrawGameBackground draws the game area border

func DrawSnakeRect

func DrawSnakeRect(win *pixelgl.Window, imd *imdraw.IMDraw, gameCFG *game.Config, s *snake.Type)

DrawSnakeRect draws the snake shape using rectangles

Types

This section is empty.

Jump to

Keyboard shortcuts

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