sudoku/types.go
2020-06-09 23:11:30 -08:00

26 lines
244 B
Go

package main
type pos struct {
x, y int32
}
type gameState int
const (
start gameState = iota
play
pause
end
)
type mouseState struct {
Left bool
Right bool
x int32
y int32
}
type cell struct {
x int
y int
size int
}