Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { CurrentScene *Scene // current scene being displayed Config *common.Configuration // the configurations for the engine }
Engine is the type holding all Lemure Engine data and methods necessary to run
type GameObject ¶
type GameObject struct {
Name string // the name of the GO
}
GameObject holds data for an object inside the game
func (*GameObject) Update ¶
func (g *GameObject) Update()
Update is responsible for updating the state of the GO. This should never be called by the user, it is exported so the Scene can use it
type Scene ¶
type Scene struct { Name string // the name of the scene GameObjects []*GameObject // list of gameobjects in the scene }
Scene holds all gameobjects of that scene and updates them correctly
Click to show internal directories.
Click to hide internal directories.