Class: RPG::Event::Page::Graphic
- Inherits:
-
Object
- Object
- RPG::Event::Page::Graphic
- Defined in:
- lib/rgss3/rpg.rb
Instance Attribute Summary collapse
-
#character_index ⇒ Object
Returns the value of attribute character_index.
-
#character_name ⇒ Object
Returns the value of attribute character_name.
-
#direction ⇒ Object
Returns the value of attribute direction.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#tile_id ⇒ Object
Returns the value of attribute tile_id.
Instance Method Summary collapse
-
#initialize ⇒ Graphic
constructor
A new instance of Graphic.
Constructor Details
#initialize ⇒ Graphic
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_index ⇒ Object
Returns the value of attribute character_index.
297 298 299 |
# File 'lib/rgss3/rpg.rb', line 297 def character_index @character_index end |
#character_name ⇒ Object
Returns the value of attribute character_name.
296 297 298 |
# File 'lib/rgss3/rpg.rb', line 296 def character_name @character_name end |
#direction ⇒ Object
Returns the value of attribute direction.
298 299 300 |
# File 'lib/rgss3/rpg.rb', line 298 def direction @direction end |
#pattern ⇒ Object
Returns the value of attribute pattern.
299 300 301 |
# File 'lib/rgss3/rpg.rb', line 299 def pattern @pattern end |
#tile_id ⇒ Object
Returns the value of attribute tile_id.
295 296 297 |
# File 'lib/rgss3/rpg.rb', line 295 def tile_id @tile_id end |