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

- (Page) initialize

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

- (Object) condition

Returns the value of attribute condition



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

def condition
  @condition
end

- (Object) direction_fix

Returns the value of attribute direction_fix



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

def direction_fix
  @direction_fix
end

- (Object) graphic

Returns the value of attribute graphic



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

def graphic
  @graphic
end

- (Object) list

Returns the value of attribute list



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

def list
  @list
end

- (Object) move_frequency

Returns the value of attribute move_frequency



23
24
25
# File 'lib/rpg/event/page.rb', line 23

def move_frequency
  @move_frequency
end

- (Object) move_route

Returns the value of attribute move_route



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

def move_route
  @move_route
end

- (Object) move_speed

Returns the value of attribute move_speed



22
23
24
# File 'lib/rpg/event/page.rb', line 22

def move_speed
  @move_speed
end

- (Object) move_type

Returns the value of attribute move_type



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

def move_type
  @move_type
end

- (Object) priority_type

Returns the value of attribute priority_type



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

def priority_type
  @priority_type
end

- (Object) step_anime

Returns the value of attribute step_anime



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

def step_anime
  @step_anime
end

- (Object) through

Returns the value of attribute through



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

def through
  @through
end

- (Object) trigger

Returns the value of attribute trigger



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

def trigger
  @trigger
end

- (Object) walk_anime

Returns the value of attribute walk_anime



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

def walk_anime
  @walk_anime
end