Documentation ¶
Index ¶
Constants ¶
View Source
const ( EVENT_TYPE_ERROR = iota EVENT_TYPE_OBJECT_CREATING EVENT_TYPE_OBJECT_DELETING EVENT_TYPE_OBJECT_UPDATING )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Command string `json:"command"` Params json.RawMessage `json:"params"` }
type GameObjectCollection ¶
type GameObjectCollection map[uint16]interface{}
type GameProcessor ¶
type GameProcessor chan interface{}
func NewGameProcessor ¶
func NewGameProcessor() GameProcessor
func (GameProcessor) OccurredCreating ¶
func (p GameProcessor) OccurredCreating(object interface{})
Implementing game objects.GameProcessor
func (GameProcessor) OccurredDeleting ¶
func (p GameProcessor) OccurredDeleting(object interface{})
Implementing game objects.GameProcessor
func (GameProcessor) OccurredError ¶
func (p GameProcessor) OccurredError(object interface{}, err error)
Implementing game objects.GameProcessor
func (GameProcessor) OccurredUpdating ¶
func (p GameProcessor) OccurredUpdating(object interface{})
Implementing game objects.GameProcessor
Directories ¶
Path | Synopsis |
---|---|
This package provides simple small engine for flat games.
|
This package provides simple small engine for flat games. |
Click to show internal directories.
Click to hide internal directories.