Class: RPG::Event::Page::Graphic

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGraphic

Returns a new instance of Graphic.



572
573
574
575
576
577
578
# File 'lib/R3EXS/RGSS3.rb', line 572

def initialize
    @tile_id         = 0
    @character_name  = ''
    @character_index = 0
    @direction       = 2
    @pattern         = 0
end

Instance Attribute Details

#character_indexObject

Returns the value of attribute character_index.



582
583
584
# File 'lib/R3EXS/RGSS3.rb', line 582

def character_index
  @character_index
end

#character_nameObject

Returns the value of attribute character_name.



581
582
583
# File 'lib/R3EXS/RGSS3.rb', line 581

def character_name
  @character_name
end

#directionObject

Returns the value of attribute direction.



583
584
585
# File 'lib/R3EXS/RGSS3.rb', line 583

def direction
  @direction
end

#patternObject

Returns the value of attribute pattern.



584
585
586
# File 'lib/R3EXS/RGSS3.rb', line 584

def pattern
  @pattern
end

#tile_idObject

Returns the value of attribute tile_id.



580
581
582
# File 'lib/R3EXS/RGSS3.rb', line 580

def tile_id
  @tile_id
end