Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Colours = []sdl.Color{
{0, 0, 0, 0},
{0, 0, 1, 0},
{1, 0, 0, 0},
{1, 0, 1, 0},
{0, 1, 0, 0},
{0, 1, 1, 0},
{1, 1, 0, 0},
{1, 1, 1, 0},
}
Bright versions, non-bright are reduced from ff to d7
Functions ¶
func NewKeyboardState ¶
func NewKeyboardState() *keyboardState
Types ¶
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
func (*Screen) SetDrawColour ¶
Click to show internal directories.
Click to hide internal directories.