def update
# Update command window
@command_window.update
# If C button was pressed
if Input.trigger?(Input::C)
# Branch by command window cursor position
case @command_window.index
when 0 # New game
command_new_game
when 1 # Continue if enabled, otherwise shutdown
if @continue_enabled
command_continue
else
command_shutdown
end
when 2 # Shutdown
command_shutdown
end
end
end