Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Manager *Manager SystemInfo *SystemInfo // contains filtered or unexported fields }
An App incapsulated all game logic and rendering. An App provides methods to adding systems and renderers and also implements ebiten.Game interface
func (*App) AddRenderers ¶
func (*App) AddStartups ¶
func (*App) AddSystems ¶
type Renderer ¶
type Renderer func(*ebiten.Image)
Renderer is a system that draws something every frame
type Startup ¶
Startup is a initilize system that updates after App started. Startup system should return (true, nil) when initialisation finished successul
type System ¶
type System func() error
System is a basic system that updates every tick after App initialization is finished
type SystemInfo ¶
Click to show internal directories.
Click to hide internal directories.