Documentation ¶
Overview ¶
Package common provides shared interfaces / structures between Kaori's Modules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleaner ¶
type Cleaner interface {
Clean()
}
Cleaner provides a function which will be used when a game is closing. This function should be used for freeing SDL's objects and/or cleaning resources
type Drawer ¶
Drawer provides a Draw function which will be used when a game draw event happens. This function also provides access to the game's renderer
type EventHandler ¶
EventHandler provides a function which will be used when a certain SDL Event is received
type GameObject ¶
GameObject provides the functions which are needed for a game object.
Click to show internal directories.
Click to hide internal directories.