Class: Object
- Inherits:
- BasicObject
- Defined in:
- docs/3_Studio.rb,
docs/000_a_root.rb,
docs/0_Dependencies.rb,
docs/4_Systems_000_General.rb
Constant Summary collapse
- EMPTY_OPTIONAL =
Array representing an empty optional key hash
[].freeze
- VALIDATE_PARAM_ERROR =
Default error message
'Parameter %<param_name>s sent to %<method_name>s is incorrect : %<reason>s'
- EXC_MSG =
Exception message
'Invalid param value passed to %s#%s, see previous errors to know what are the invalid params'
Instance Method Summary collapse
-
#_clean_name_utf8(arr) ⇒ arr
Clean an array containing object responding to #name (force utf-8).
-
#bchance?(rate, logic = nil) ⇒ Boolean
Attempt to get for the battles.
-
#ext_text(file_id, text_id) ⇒ String
Get a text front the external text database.
-
#parse_text(file_id, text_id, additionnal_var = nil) ⇒ String
Parse a text from the text database with specific informations.
-
#parse_text_with_2pokemon(file_id, text_id, pokemon1, pokemon2, additionnal_var = nil) ⇒ String
Parse a text from the text database with 2 pokemon & specific information.
-
#parse_text_with_pokemon(file_id, text_id, pokemon, additionnal_var = nil) ⇒ String
Parse a text from the text database with specific informations and a pokemon.
-
#play_actor_collapse_se
Play the Actor collapse SE.
-
#play_buzzer_se
Play buzzer SE.
-
#play_cancel_se
Play cancel SE.
-
#play_cursor_se
Play cursor SE.
-
#play_decision_se
Play decision SE.
-
#play_enemy_collapse_se
Play the Enemy collapse SE.
-
#play_equip_se
Play the Equip SE.
-
#play_escape_se
Play the Escape SE.
-
#play_load_se
Play the Load SE.
-
#play_save_se
Play the Save SE.
-
#play_shop_se
Play the Shop SE.
-
#text_file_get(file_id) ⇒ Array<String>
Get a list of text from the text database.
-
#text_get(file_id, text_id) ⇒ String
Get a text front the text database.
-
#validate_param(method_name, *param_names, param_values)
Function that validate the input paramters.
-
#void(*args)
Function that does nothing and return nil.
-
#void0(*args)
Function that does nothing and return 0.
-
#void_array(*args)
Function that does nothing and return [].
-
#void_false(*args)
Function that does nothing and return false.
-
#void_string(*args)
Function that does nothing and return “”.
-
#void_true(*args)
Function that does nothing and return true.
Instance Method Details
#_clean_name_utf8(arr) ⇒ arr
Clean an array containing object responding to #name (force utf-8)
40 41 |
# File 'docs/4_Systems_000_General.rb', line 40 def _clean_name_utf8(arr) end |
#bchance?(rate, logic = nil) ⇒ Boolean
Attempt to get for the battles
85 86 |
# File 'docs/4_Systems_000_General.rb', line 85 def bchance?(rate, logic = nil) end |
#ext_text(file_id, text_id) ⇒ String
Get a text front the external text database
46 47 |
# File 'docs/4_Systems_000_General.rb', line 46 def ext_text(file_id, text_id) end |
#parse_text(file_id, text_id, additionnal_var = nil) ⇒ String
Parse a text from the text database with specific informations
24 25 |
# File 'docs/4_Systems_000_General.rb', line 24 def parse_text(file_id, text_id, additionnal_var = nil) end |
#parse_text_with_2pokemon(file_id, text_id, pokemon1, pokemon2, additionnal_var = nil) ⇒ String
Parse a text from the text database with 2 pokemon & specific information
17 18 |
# File 'docs/4_Systems_000_General.rb', line 17 def parse_text_with_2pokemon(file_id, text_id, pokemon1, pokemon2, additionnal_var = nil) end |
#parse_text_with_pokemon(file_id, text_id, pokemon, additionnal_var = nil) ⇒ String
Parse a text from the text database with specific informations and a pokemon
8 9 |
# File 'docs/4_Systems_000_General.rb', line 8 def parse_text_with_pokemon(file_id, text_id, pokemon, additionnal_var = nil) end |
#play_actor_collapse_se
Play the Actor collapse SE
76 77 |
# File 'docs/4_Systems_000_General.rb', line 76 def play_actor_collapse_se end |
#play_buzzer_se
Play buzzer SE
55 56 |
# File 'docs/4_Systems_000_General.rb', line 55 def play_buzzer_se end |
#play_cancel_se
Play cancel SE
58 59 |
# File 'docs/4_Systems_000_General.rb', line 58 def play_cancel_se end |
#play_cursor_se
Play cursor SE
52 53 |
# File 'docs/4_Systems_000_General.rb', line 52 def play_cursor_se end |
#play_decision_se
Play decision SE
49 50 |
# File 'docs/4_Systems_000_General.rb', line 49 def play_decision_se end |
#play_enemy_collapse_se
Play the Enemy collapse SE
79 80 |
# File 'docs/4_Systems_000_General.rb', line 79 def play_enemy_collapse_se end |
#play_equip_se
Play the Equip SE
61 62 |
# File 'docs/4_Systems_000_General.rb', line 61 def play_equip_se end |
#play_escape_se
Play the Escape SE
73 74 |
# File 'docs/4_Systems_000_General.rb', line 73 def play_escape_se end |
#play_load_se
Play the Load SE
70 71 |
# File 'docs/4_Systems_000_General.rb', line 70 def play_load_se end |
#play_save_se
Play the Save SE
67 68 |
# File 'docs/4_Systems_000_General.rb', line 67 def play_save_se end |
#play_shop_se
Play the Shop SE
64 65 |
# File 'docs/4_Systems_000_General.rb', line 64 def play_shop_se end |
#text_file_get(file_id) ⇒ Array<String>
Get a list of text from the text database
35 36 |
# File 'docs/4_Systems_000_General.rb', line 35 def text_file_get(file_id) end |
#text_get(file_id, text_id) ⇒ String
Get a text front the text database
30 31 |
# File 'docs/4_Systems_000_General.rb', line 30 def text_get(file_id, text_id) end |
#validate_param(method_name, *param_names, param_values)
To use a custom message, define a validate_param_message
Function that validate the input paramters
26 27 |
# File 'docs/0_Dependencies.rb', line 26 def validate_param(method_name, *param_names, param_values) end |
#void(*args)
Function that does nothing and return nil
31 32 |
# File 'docs/0_Dependencies.rb', line 31 def void(*args) end |
#void0(*args)
Function that does nothing and return 0
46 47 |
# File 'docs/0_Dependencies.rb', line 46 def void0(*args) end |
#void_array(*args)
Function that does nothing and return []
51 52 |
# File 'docs/0_Dependencies.rb', line 51 def void_array(*args) end |
#void_false(*args)
Function that does nothing and return false
41 42 |
# File 'docs/0_Dependencies.rb', line 41 def void_false(*args) end |
#void_string(*args)
Function that does nothing and return “”
56 57 |
# File 'docs/0_Dependencies.rb', line 56 def void_string(*args) end |
#void_true(*args)
Function that does nothing and return true
36 37 |
# File 'docs/0_Dependencies.rb', line 36 def void_true(*args) end |