Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SceneDirectorConfig ¶
type SceneDirectorConfig struct { StartScene scene.Scene GoodbyeScene scene.Scene EndCommand string }
SceneDirectorConfig - config for director.
type ScriptDirector ¶
ScriptDirector - implementation game director for script games.
func NewScriptDirector ¶
func NewScriptDirector(cf SceneDirectorConfig) *ScriptDirector
NewScriptDirector - create new ScriptDirector.
func (*ScriptDirector) PlayScene ¶
func (so *ScriptDirector) PlayScene(req director.SceneRequest) director.Result
PlayScene - .
Click to show internal directories.
Click to hide internal directories.