Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameAction ¶
type GameAction int
type GameActionInfo ¶
type GameDataI ¶
type GameDataI interface { Start() GameNodeI GetNodeByString(string) GameNodeI GetActionById(ActionId) *GameActionInfo }
type GameNodeI ¶
type GameNodeI interface { IsGameOver() bool IsGameLost() bool Next(ActionId) GameNodeI // action ID -> Node Actions() map[ActionId]GameActionInfo Story() StoryContent Name() string }
type StoryContent ¶
type StoryContent string
Click to show internal directories.
Click to hide internal directories.