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.



530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
# File 'lib/R3EXS/RGSS3.rb', line 530

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.



546
547
548
# File 'lib/R3EXS/RGSS3.rb', line 546

def condition
  @condition
end

#direction_fixObject

Returns the value of attribute direction_fix.



554
555
556
# File 'lib/R3EXS/RGSS3.rb', line 554

def direction_fix
  @direction_fix
end

#graphicObject

Returns the value of attribute graphic.



547
548
549
# File 'lib/R3EXS/RGSS3.rb', line 547

def graphic
  @graphic
end

#listObject

Returns the value of attribute list.



558
559
560
# File 'lib/R3EXS/RGSS3.rb', line 558

def list
  @list
end

#move_frequencyObject

Returns the value of attribute move_frequency.



550
551
552
# File 'lib/R3EXS/RGSS3.rb', line 550

def move_frequency
  @move_frequency
end

#move_routeObject

Returns the value of attribute move_route.



551
552
553
# File 'lib/R3EXS/RGSS3.rb', line 551

def move_route
  @move_route
end

#move_speedObject

Returns the value of attribute move_speed.



549
550
551
# File 'lib/R3EXS/RGSS3.rb', line 549

def move_speed
  @move_speed
end

#move_typeObject

Returns the value of attribute move_type.



548
549
550
# File 'lib/R3EXS/RGSS3.rb', line 548

def move_type
  @move_type
end

#priority_typeObject

Returns the value of attribute priority_type.



556
557
558
# File 'lib/R3EXS/RGSS3.rb', line 556

def priority_type
  @priority_type
end

#step_animeObject

Returns the value of attribute step_anime.



553
554
555
# File 'lib/R3EXS/RGSS3.rb', line 553

def step_anime
  @step_anime
end

#throughObject

Returns the value of attribute through.



555
556
557
# File 'lib/R3EXS/RGSS3.rb', line 555

def through
  @through
end

#triggerObject

Returns the value of attribute trigger.



557
558
559
# File 'lib/R3EXS/RGSS3.rb', line 557

def trigger
  @trigger
end

#walk_animeObject

Returns the value of attribute walk_anime.



552
553
554
# File 'lib/R3EXS/RGSS3.rb', line 552

def walk_anime
  @walk_anime
end