Class: RPG::Event::Page

Inherits:
Object
  • Object
show all
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

Classes: Condition, Graphic

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from RgssDb::JsonableConstructor

json_create, json_new

Methods included from RgssDb::Jsonable

#as_json, #to_json

Constructor Details

#initializePage

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_topObject

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

#conditionObject

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_fixObject

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

#graphicObject

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

#listObject

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_frequencyObject

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_routeObject

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_speedObject

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_typeObject

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_typeObject

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_animeObject

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

#throughObject

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

#triggerObject

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_animeObject

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