Class: RPG::Event::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/rpg/event/page.rb,
lib/rpg/event/page/graphic.rb,
lib/rpg/event/page/condition.rb

Defined Under Namespace

Classes: Condition, Graphic

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePage

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

#conditionObject

Returns the value of attribute condition.



19
20
21
# File 'lib/rpg/event/page.rb', line 19

def condition
  @condition
end

#direction_fixObject

Returns the value of attribute direction_fix.



27
28
29
# File 'lib/rpg/event/page.rb', line 27

def direction_fix
  @direction_fix
end

#graphicObject

Returns the value of attribute graphic.



20
21
22
# File 'lib/rpg/event/page.rb', line 20

def graphic
  @graphic
end

#listObject

Returns the value of attribute list.



31
32
33
# File 'lib/rpg/event/page.rb', line 31

def list
  @list
end

#move_frequencyObject

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_routeObject

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_speedObject

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_typeObject

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_typeObject

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_animeObject

Returns the value of attribute step_anime.



26
27
28
# File 'lib/rpg/event/page.rb', line 26

def step_anime
  @step_anime
end

#throughObject

Returns the value of attribute through.



28
29
30
# File 'lib/rpg/event/page.rb', line 28

def through
  @through
end

#triggerObject

Returns the value of attribute trigger.



30
31
32
# File 'lib/rpg/event/page.rb', line 30

def trigger
  @trigger
end

#walk_animeObject

Returns the value of attribute walk_anime.



25
26
27
# File 'lib/rpg/event/page.rb', line 25

def walk_anime
  @walk_anime
end