Class: GTS::SummaryWanted

Overview

Show a Pokemon with its requirement in order to trade

Constant Summary

Constants inherited from GamePlay::Summary

GamePlay::Summary::ACTIONS, GamePlay::Summary::KEYS, GamePlay::Summary::LAST_STATE, GamePlay::Summary::TEXT_INDEXES, GamePlay::Summary::TRANSLATED_MOUSE_COORD_DETECTION

Constants inherited from GamePlay::BaseCleanUpdate

GamePlay::BaseCleanUpdate::AIU_KEY2METHOD

Constants inherited from GamePlay::Base

GamePlay::Base::DEFAULT_TRANSITION, GamePlay::Base::DEFAULT_TRANSITION_PARAMETER

Constants included from Input

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

Constants included from GamePlay::DisplayMessage

GamePlay::DisplayMessage::MESSAGE_ERROR, GamePlay::DisplayMessage::MESSAGE_PROCESS_ERROR

Instance Attribute Summary collapse

Attributes inherited from GamePlay::Summary

#skill_selected

Attributes inherited from GamePlay::Base

#__last_scene, #__result_process, #running, #viewport

Attributes included from GamePlay::DisplayMessage

#message_window

Instance Method Summary collapse

Methods inherited from GamePlay::Summary

#update_graphics, #update_mouse

Methods inherited from GamePlay::BaseCleanUpdate::FrameBalanced

#update

Methods included from Graphics::FPSBalancer::Marker

#frame_balanced?

Methods inherited from GamePlay::BaseCleanUpdate

#automatic_input_update, #update

Methods inherited from GamePlay::Base

#add_disposable, #call_scene, #dispose, #find_parent, #main, #return_to_scene, #snap_to_bitmap, #update, #visible, #visible=

Methods included from Input

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

Methods included from GamePlay::DisplayMessage

#can_display_message_be_called?, #close_message_window, #display_message, #display_message_and_wait, #message_class, #message_processing?, #message_visible, #message_visible=

Constructor Details

#initialize(wanted_data) ⇒ SummaryWanted

Returns a new instance of SummaryWanted.



199
200
# File 'docs/4_Systems_901_GTS.rb', line 199

def initialize(wanted_data)
end

Instance Attribute Details

#return_data

Returns the value of attribute return_data.



198
199
200
# File 'docs/4_Systems_901_GTS.rb', line 198

def return_data
  @return_data
end

Instance Method Details

#create_graphics

Create the graphics of the wanted summary UI



211
212
# File 'docs/4_Systems_901_GTS.rb', line 211

def create_graphics
end

#create_uis

Create the various UI



214
215
# File 'docs/4_Systems_901_GTS.rb', line 214

def create_uis
end

#ctrl_id_state

Force the button to disabled unless it’s the cancel one



202
203
# File 'docs/4_Systems_901_GTS.rb', line 202

def ctrl_id_state
end

#draw_page_one_gts_wanted(wanted_data)

Draw the wanted info



217
218
# File 'docs/4_Systems_901_GTS.rb', line 217

def draw_page_one_gts_wanted(wanted_data)
end

#mouse_quit

Ask if the player wants to decline



208
209
# File 'docs/4_Systems_901_GTS.rb', line 208

def mouse_quit
end

#update_inputs

Ask if the player wants to accept this trade



205
206
# File 'docs/4_Systems_901_GTS.rb', line 205

def update_inputs
end