Class: RPG::Event::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Defined Under Namespace

Classes: Condition, Graphic

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePage

Returns a new instance of Page.



224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
# File 'lib/rgss3/rpg.rb', line 224

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.



239
240
241
# File 'lib/rgss3/rpg.rb', line 239

def condition
  @condition
end

#direction_fixObject

Returns the value of attribute direction_fix.



247
248
249
# File 'lib/rgss3/rpg.rb', line 247

def direction_fix
  @direction_fix
end

#graphicObject

Returns the value of attribute graphic.



240
241
242
# File 'lib/rgss3/rpg.rb', line 240

def graphic
  @graphic
end

#listObject

Returns the value of attribute list.



251
252
253
# File 'lib/rgss3/rpg.rb', line 251

def list
  @list
end

#move_frequencyObject

Returns the value of attribute move_frequency.



243
244
245
# File 'lib/rgss3/rpg.rb', line 243

def move_frequency
  @move_frequency
end

#move_routeObject

Returns the value of attribute move_route.



244
245
246
# File 'lib/rgss3/rpg.rb', line 244

def move_route
  @move_route
end

#move_speedObject

Returns the value of attribute move_speed.



242
243
244
# File 'lib/rgss3/rpg.rb', line 242

def move_speed
  @move_speed
end

#move_typeObject

Returns the value of attribute move_type.



241
242
243
# File 'lib/rgss3/rpg.rb', line 241

def move_type
  @move_type
end

#priority_typeObject

Returns the value of attribute priority_type.



249
250
251
# File 'lib/rgss3/rpg.rb', line 249

def priority_type
  @priority_type
end

#step_animeObject

Returns the value of attribute step_anime.



246
247
248
# File 'lib/rgss3/rpg.rb', line 246

def step_anime
  @step_anime
end

#throughObject

Returns the value of attribute through.



248
249
250
# File 'lib/rgss3/rpg.rb', line 248

def through
  @through
end

#triggerObject

Returns the value of attribute trigger.



250
251
252
# File 'lib/rgss3/rpg.rb', line 250

def trigger
  @trigger
end

#walk_animeObject

Returns the value of attribute walk_anime.



245
246
247
# File 'lib/rgss3/rpg.rb', line 245

def walk_anime
  @walk_anime
end