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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGraphic

Returns a new instance of Graphic.



288
289
290
291
292
293
294
# File 'lib/rgss3/rpg.rb', line 288

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.



297
298
299
# File 'lib/rgss3/rpg.rb', line 297

def character_index
  @character_index
end

#character_nameObject

Returns the value of attribute character_name.



296
297
298
# File 'lib/rgss3/rpg.rb', line 296

def character_name
  @character_name
end

#directionObject

Returns the value of attribute direction.



298
299
300
# File 'lib/rgss3/rpg.rb', line 298

def direction
  @direction
end

#patternObject

Returns the value of attribute pattern.



299
300
301
# File 'lib/rgss3/rpg.rb', line 299

def pattern
  @pattern
end

#tile_idObject

Returns the value of attribute tile_id.



295
296
297
# File 'lib/rgss3/rpg.rb', line 295

def tile_id
  @tile_id
end