Class: RPG::Event::Page
- Inherits:
-
Object
- Object
- RPG::Event::Page
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/event_page.rb,
lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb,
lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_condition.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/event_page_graphic.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/event_page_condition.rb
Overview
The data class for the event page.
Defined Under Namespace
Instance Attribute Summary collapse
-
#always_on_top ⇒ Object
Returns the value of attribute always_on_top.
-
#condition ⇒ Object
Returns the value of attribute condition.
-
#direction_fix ⇒ Object
Returns the value of attribute direction_fix.
-
#graphic ⇒ Object
Returns the value of attribute graphic.
-
#list ⇒ Object
Returns the value of attribute list.
-
#move_frequency ⇒ Object
Returns the value of attribute move_frequency.
-
#move_route ⇒ Object
Returns the value of attribute move_route.
-
#move_speed ⇒ Object
Returns the value of attribute move_speed.
-
#move_type ⇒ Object
Returns the value of attribute move_type.
-
#priority_type ⇒ Object
Returns the value of attribute priority_type.
-
#step_anime ⇒ Object
Returns the value of attribute step_anime.
-
#through ⇒ Object
Returns the value of attribute through.
-
#trigger ⇒ Object
Returns the value of attribute trigger.
-
#walk_anime ⇒ Object
Returns the value of attribute walk_anime.
Instance Method Summary collapse
-
#initialize ⇒ Page
constructor
A new instance of Page.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ Page
Returns a new instance of Page.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 12 def initialize @condition = RPG::Event::Page::Condition.new @graphic = RPG::Event::Page::Graphic.new @move_type = 0 @move_speed = 3 @move_frequency = 3 @move_route = RPG::MoveRoute.new @walk_anime = true @step_anime = false @direction_fix = false @through = false @priority_type = 0 @trigger = 0 @list = [RPG::EventCommand.new] end |
Instance Attribute Details
#always_on_top ⇒ Object
Returns the value of attribute always_on_top.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page.rb', line 28 def always_on_top @always_on_top end |
#condition ⇒ Object
Returns the value of attribute condition.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def condition @condition end |
#direction_fix ⇒ Object
Returns the value of attribute direction_fix.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def direction_fix @direction_fix end |
#graphic ⇒ Object
Returns the value of attribute graphic.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def graphic @graphic end |
#list ⇒ Object
Returns the value of attribute list.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def list @list end |
#move_frequency ⇒ Object
Returns the value of attribute move_frequency.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def move_frequency @move_frequency end |
#move_route ⇒ Object
Returns the value of attribute move_route.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def move_route @move_route end |
#move_speed ⇒ Object
Returns the value of attribute move_speed.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def move_speed @move_speed end |
#move_type ⇒ Object
Returns the value of attribute move_type.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def move_type @move_type end |
#priority_type ⇒ Object
Returns the value of attribute priority_type.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def priority_type @priority_type end |
#step_anime ⇒ Object
Returns the value of attribute step_anime.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def step_anime @step_anime end |
#through ⇒ Object
Returns the value of attribute through.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def through @through end |
#trigger ⇒ Object
Returns the value of attribute trigger.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def trigger @trigger end |
#walk_anime ⇒ Object
Returns the value of attribute walk_anime.
28 29 30 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page.rb', line 28 def walk_anime @walk_anime end |