Scene
Inherits Struct < Value < Object
Represents a single scene in the game.
Players navigate through the game by visiting different scenes.
Scenes describe the environment and provide the user with different Command options.
Constructors
new
SourceInstance methods
Returns an ordered list of commands available to the user.
These commands will be displayed after the scene description produced in #render
initialize
SourcePersists the scene information to the state so we can keep track of a player's progress between saves.
Example:
If we also had a timstamp field on State we could set it here
protected def persist_scene_state(state : State) : State
state = super(state)
state.timstamp = Time.utc
return state
end