Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ColorBlack = Color{R: 0, G: 0, B: 0, A: 0}
View Source
var ColorBlue = Color{R: 37, G: 37, B: 255, A: 0xff}
View Source
var ColorGreen = Color{R: 0x4a, G: 0xf6, B: 0x26, A: 0xff}
View Source
var ColorRed = Color{R: 250, G: 37, B: 37, A: 255}
View Source
var ColorWhite = Color{R: 255, G: 255, B: 255, A: 255}
View Source
var ColorYellow = Color{R: 0xfa, G: 0xfa, B: 0xd2, A: 0xff}
Functions ¶
func WidthHeight ¶
Types ¶
type Color ¶
type Color struct {
R, G, B, A uint8
}
reimplementing Color from color.Color to make it json deserializeable ... dunno why needed
type GameObject ¶
type GameObject interface { Draw(image *ebiten.Image) Update() error }
Click to show internal directories.
Click to hide internal directories.