Documentation
¶
Overview ¶
SPDX-License-Identifier: GPL-3.0-only
SPDX-License-Identifier: GPL-3.0-only
Index ¶
- type Actor
- type Game
- func (g *Game) GetActor(id string) *Actor
- func (g *Game) GetFrameDeltaTime() float32
- func (g *Game) GetVirtualWindowSize() Vec2
- func (g *Game) Init() int
- func (g *Game) IsKeyPressed(key int) bool
- func (g *Game) LoadResources(filename string) bool
- func (g *Game) Run() bool
- func (g *Game) SetActiveScene(id string)
- func (g *Game) Shutdown() int
- type Vec2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶ added in v0.0.3
type Actor struct {
// contains filtered or unexported fields
}
func (*Actor) GetPosition ¶ added in v0.0.3
func (*Actor) SetPosition ¶ added in v0.0.3
type Game ¶
type Game struct{}
func (*Game) GetFrameDeltaTime ¶ added in v0.0.3
func (*Game) GetVirtualWindowSize ¶ added in v0.0.3
func (*Game) IsKeyPressed ¶ added in v0.0.3
func (*Game) LoadResources ¶ added in v0.0.3
func (*Game) SetActiveScene ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.