Class: RPG::Event::Page
- Inherits:
-
Object
- Object
- RPG::Event::Page
- Defined in:
- lib/rpg/event/page.rb,
lib/rpg/event/page/graphic.rb,
lib/rpg/event/page/condition.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#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.
Constructor Details
#initialize ⇒ Page
Returns a new instance of Page.
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/rpg/event/page.rb', line 4 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
#condition ⇒ Object
Returns the value of attribute condition.
19 20 21 |
# File 'lib/rpg/event/page.rb', line 19 def condition @condition end |
#direction_fix ⇒ Object
Returns the value of attribute direction_fix.
27 28 29 |
# File 'lib/rpg/event/page.rb', line 27 def direction_fix @direction_fix end |
#graphic ⇒ Object
Returns the value of attribute graphic.
20 21 22 |
# File 'lib/rpg/event/page.rb', line 20 def graphic @graphic end |
#list ⇒ Object
Returns the value of attribute list.
31 32 33 |
# File 'lib/rpg/event/page.rb', line 31 def list @list end |
#move_frequency ⇒ Object
Returns the value of attribute move_frequency.
23 24 25 |
# File 'lib/rpg/event/page.rb', line 23 def move_frequency @move_frequency end |
#move_route ⇒ Object
Returns the value of attribute move_route.
24 25 26 |
# File 'lib/rpg/event/page.rb', line 24 def move_route @move_route end |
#move_speed ⇒ Object
Returns the value of attribute move_speed.
22 23 24 |
# File 'lib/rpg/event/page.rb', line 22 def move_speed @move_speed end |
#move_type ⇒ Object
Returns the value of attribute move_type.
21 22 23 |
# File 'lib/rpg/event/page.rb', line 21 def move_type @move_type end |
#priority_type ⇒ Object
Returns the value of attribute priority_type.
29 30 31 |
# File 'lib/rpg/event/page.rb', line 29 def priority_type @priority_type end |
#step_anime ⇒ Object
Returns the value of attribute step_anime.
26 27 28 |
# File 'lib/rpg/event/page.rb', line 26 def step_anime @step_anime end |
#through ⇒ Object
Returns the value of attribute through.
28 29 30 |
# File 'lib/rpg/event/page.rb', line 28 def through @through end |
#trigger ⇒ Object
Returns the value of attribute trigger.
30 31 32 |
# File 'lib/rpg/event/page.rb', line 30 def trigger @trigger end |
#walk_anime ⇒ Object
Returns the value of attribute walk_anime.
25 26 27 |
# File 'lib/rpg/event/page.rb', line 25 def walk_anime @walk_anime end |