struct

GameScene::MountainTop

Inherits GameScene::BaseScene < Scene < Struct < Value < Object

Instance methods

commands(state : State) : Array(Command)

Returns an ordered list of commands available to the user. These commands will be displayed after the scene description produced in #render

Source
render(state : State)

Render the scene description.

Note: There is no need to explain the scene's available options since Command options are automatically generated from #commands.

Example:

def render(state : State)
  puts "You are in an empty room. To your left is an open door."
end
Source