Class: RPG::Event::Page::Graphic
- Inherits:
-
Object
- Object
- RPG::Event::Page::Graphic
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/event_page_graphic.rb
Overview
The data class for the Event page [Graphics].
Instance Attribute Summary collapse
-
#blend_type ⇒ Object
Returns the value of attribute blend_type.
-
#character_hue ⇒ Object
Returns the value of attribute character_hue.
-
#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.
-
#opacity ⇒ Object
Returns the value of attribute opacity.
-
#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.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ Graphic
Returns a new instance of Graphic.
13 14 15 16 17 18 19 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 13 def initialize @tile_id = 0 @character_name = "" @character_index = 0 @direction = 2 @pattern = 0 end |
Instance Attribute Details
#blend_type ⇒ Object
Returns the value of attribute blend_type.
23 24 25 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb', line 23 def blend_type @blend_type end |
#character_hue ⇒ Object
Returns the value of attribute character_hue.
23 24 25 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb', line 23 def character_hue @character_hue end |
#character_index ⇒ Object
Returns the value of attribute character_index.
21 22 23 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21 def character_index @character_index end |
#character_name ⇒ Object
Returns the value of attribute character_name.
21 22 23 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21 def character_name @character_name end |
#direction ⇒ Object
Returns the value of attribute direction.
21 22 23 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21 def direction @direction end |
#opacity ⇒ Object
Returns the value of attribute opacity.
23 24 25 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb', line 23 def opacity @opacity end |
#pattern ⇒ Object
Returns the value of attribute pattern.
21 22 23 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21 def pattern @pattern end |
#tile_id ⇒ Object
Returns the value of attribute tile_id.
21 22 23 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21 def tile_id @tile_id end |