Documentation ¶
Index ¶
- func AddCollision(name string)
- func CheckCollision() (name1, name2 string)
- func CheckObjectsOnCor(x int, y int) string
- func CreateObject(name string, texture string, posX float64, posY float64, angle int, ...)
- func FPS() float64
- func KeyboardHandler(key string) bool
- func MouseHandler(button string) bool
- func MousePos() (x, y int)
- func MoveObject(name string, posX float64, posY float64)
- func ObjectAngle(name string) (angle int)
- func ObjectDemo(name string) bool
- func ObjectPosX(name string) float64
- func ObjectPosY(name string) float64
- func ObjectSize(name string) (x, y int)
- func RotateObject(name string, angle int)
- func SetObjectAngle(name string, angle int)
- func SetObjectDemo(name string, demo bool)
- func SetObjectPos(name string, posX float64, posY float64)
- func SetObjectTexture(name string, texture string)
- func Start()
- func SyncFrame()
- func WindowName(name string)
- func WindowSize(width int, height int)
- type Game
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCollision ¶
func AddCollision(name string)
func CheckCollision ¶
func CheckCollision() (name1, name2 string)
func CheckObjectsOnCor ¶
func CreateObject ¶
func KeyboardHandler ¶
func MouseHandler ¶
func MoveObject ¶
func ObjectAngle ¶
func ObjectDemo ¶
func ObjectPosX ¶
func ObjectPosY ¶
func ObjectSize ¶
func RotateObject ¶
func SetObjectAngle ¶
func SetObjectDemo ¶
func SetObjectPos ¶
func SetObjectTexture ¶
func WindowName ¶
func WindowName(name string)
func WindowSize ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.