Class: RPG::Event::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.rb

Defined Under Namespace

Classes: Condition, Graphic

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePage

Returns a new instance of Page.



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
# File 'lib/R3EXS/RGSS3.rb', line 508

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.



524
525
526
# File 'lib/R3EXS/RGSS3.rb', line 524

def condition
  @condition
end

#direction_fixObject

Returns the value of attribute direction_fix.



532
533
534
# File 'lib/R3EXS/RGSS3.rb', line 532

def direction_fix
  @direction_fix
end

#graphicObject

Returns the value of attribute graphic.



525
526
527
# File 'lib/R3EXS/RGSS3.rb', line 525

def graphic
  @graphic
end

#listObject

Returns the value of attribute list.



536
537
538
# File 'lib/R3EXS/RGSS3.rb', line 536

def list
  @list
end

#move_frequencyObject

Returns the value of attribute move_frequency.



528
529
530
# File 'lib/R3EXS/RGSS3.rb', line 528

def move_frequency
  @move_frequency
end

#move_routeObject

Returns the value of attribute move_route.



529
530
531
# File 'lib/R3EXS/RGSS3.rb', line 529

def move_route
  @move_route
end

#move_speedObject

Returns the value of attribute move_speed.



527
528
529
# File 'lib/R3EXS/RGSS3.rb', line 527

def move_speed
  @move_speed
end

#move_typeObject

Returns the value of attribute move_type.



526
527
528
# File 'lib/R3EXS/RGSS3.rb', line 526

def move_type
  @move_type
end

#priority_typeObject

Returns the value of attribute priority_type.



534
535
536
# File 'lib/R3EXS/RGSS3.rb', line 534

def priority_type
  @priority_type
end

#step_animeObject

Returns the value of attribute step_anime.



531
532
533
# File 'lib/R3EXS/RGSS3.rb', line 531

def step_anime
  @step_anime
end

#throughObject

Returns the value of attribute through.



533
534
535
# File 'lib/R3EXS/RGSS3.rb', line 533

def through
  @through
end

#triggerObject

Returns the value of attribute trigger.



535
536
537
# File 'lib/R3EXS/RGSS3.rb', line 535

def trigger
  @trigger
end

#walk_animeObject

Returns the value of attribute walk_anime.



530
531
532
# File 'lib/R3EXS/RGSS3.rb', line 530

def walk_anime
  @walk_anime
end