Class: GamePlay::QuestBookList

Inherits:
Base show all
Includes:
Text::Util
Defined in:
scripts/01400 GamePlay/01400 Quest/03300 GamePlay__QuestBookList.rb

Overview

Menu to choose which quest to show

Constant Summary

Constants inherited from Base

Base::DEFAULT_TRANSITION, Base::DEFAULT_TRANSITION_PARAMETER, Base::MESSAGE_ERROR

Constants included from Input

Input::AXIS_MAPPING, Input::AXIS_SENSITIVITY, Input::DEAD_ZONE, Input::Keyboard, Input::Keys, Input::NON_TRIGGER_ZONE, Input::REPEAT_COOLDOWN, Input::REPEAT_SPACE

Instance Attribute Summary

Attributes inherited from Base

#__last_scene, #__result_process, #message_window, #running, #viewport

Instance Method Summary collapse

Methods inherited from Base

#add_disposable, #call_scene, #display_message, #display_message_and_wait, #dispose, #find_parent, #main, #return_to_scene, #snap_to_bitmap, #visible

Methods included from Input

dir4, dir8, get_text, joy_axis_position, press?, register_events, released?, repeat?, swap_states, trigger?

Constructor Details

#initialize(type) ⇒ QuestBookList

Create a new QuestBookList

Parameters:

  • type (Symbol)

    type of the list to show

Instance Method Details

#__get_quests(type)

Get the quests to list

Parameters:

  • type (Symbol)

    type of the list to show

#adjust_viewport

Adjust the viewport position

#create_graphics

#update

Updates the interface

#visible=(v)

Change the viewport visibility of the scene

Parameters:

  • v (Boolean)