Class: RPG::EventCommand
- Inherits:
-
Object
- Object
- RPG::EventCommand
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/event_command.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/event_command.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/event_command.rb
Overview
The data class for the Event command.
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
Instance Method Summary collapse
-
#initialize(code = 0, indent = 0, parameters = []) ⇒ EventCommand
constructor
A new instance of EventCommand.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize(code = 0, indent = 0, parameters = []) ⇒ EventCommand
Returns a new instance of EventCommand.
11 12 13 14 15 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_command.rb', line 11 def initialize(code = 0, indent = 0, parameters = []) @code = code @indent = indent @parameters = parameters end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_command.rb', line 17 def code @code end |
#indent ⇒ Object
Returns the value of attribute indent.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_command.rb', line 17 def indent @indent end |
#parameters ⇒ Object
Returns the value of attribute parameters.
17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_command.rb', line 17 def parameters @parameters end |