Class: RPG::Tileset
- Inherits:
-
Object
- Object
- RPG::Tileset
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/tileset.rb
Overview
The data class for tile sets.
Instance Attribute Summary collapse
-
#autotile_names ⇒ Object
Returns the value of attribute autotile_names.
-
#battleback_name ⇒ Object
Returns the value of attribute battleback_name.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#fog_blend_type ⇒ Object
Returns the value of attribute fog_blend_type.
-
#fog_hue ⇒ Object
Returns the value of attribute fog_hue.
-
#fog_name ⇒ Object
Returns the value of attribute fog_name.
-
#fog_opacity ⇒ Object
Returns the value of attribute fog_opacity.
-
#fog_sx ⇒ Object
Returns the value of attribute fog_sx.
-
#fog_sy ⇒ Object
Returns the value of attribute fog_sy.
-
#fog_zoom ⇒ Object
Returns the value of attribute fog_zoom.
-
#id ⇒ Object
Returns the value of attribute id.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#name ⇒ Object
Returns the value of attribute name.
-
#note ⇒ Object
Returns the value of attribute note.
-
#panorama_hue ⇒ Object
Returns the value of attribute panorama_hue.
-
#panorama_name ⇒ Object
Returns the value of attribute panorama_name.
-
#passages ⇒ Object
Returns the value of attribute passages.
-
#priorities ⇒ Object
Returns the value of attribute priorities.
-
#terrain_tags ⇒ Object
Returns the value of attribute terrain_tags.
-
#tileset_name ⇒ Object
Returns the value of attribute tileset_name.
-
#tileset_names ⇒ Object
Returns the value of attribute tileset_names.
Instance Method Summary collapse
-
#initialize ⇒ Tileset
constructor
A new instance of Tileset.
- #to_s ⇒ Object
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ Tileset
Returns a new instance of Tileset.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 11 def initialize @id = 0 @name = "" @tileset_name = "" @autotile_names = [""] * 7 @panorama_name = "" @panorama_hue = 0 @fog_name = "" @fog_hue = 0 @fog_opacity = 64 @fog_blend_type = 0 @fog_zoom = 200 @fog_sx = 0 @fog_sy = 0 @battleback_name = "" @passages = Table.new(384) @priorities = Table.new(384) @terrain_tags = Table.new(384) end |
Instance Attribute Details
#autotile_names ⇒ Object
Returns the value of attribute autotile_names.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def autotile_names @autotile_names end |
#battleback_name ⇒ Object
Returns the value of attribute battleback_name.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def battleback_name @battleback_name end |
#flags ⇒ Object
Returns the value of attribute flags.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/tileset.rb', line 24 def flags @flags end |
#fog_blend_type ⇒ Object
Returns the value of attribute fog_blend_type.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def fog_blend_type @fog_blend_type end |
#fog_hue ⇒ Object
Returns the value of attribute fog_hue.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def fog_hue @fog_hue end |
#fog_name ⇒ Object
Returns the value of attribute fog_name.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def fog_name @fog_name end |
#fog_opacity ⇒ Object
Returns the value of attribute fog_opacity.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def fog_opacity @fog_opacity end |
#fog_sx ⇒ Object
Returns the value of attribute fog_sx.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def fog_sx @fog_sx end |
#fog_sy ⇒ Object
Returns the value of attribute fog_sy.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def fog_sy @fog_sy end |
#fog_zoom ⇒ Object
Returns the value of attribute fog_zoom.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def fog_zoom @fog_zoom end |
#id ⇒ Object
Returns the value of attribute id.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def id @id end |
#mode ⇒ Object
Returns the value of attribute mode.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/tileset.rb', line 24 def mode @mode end |
#name ⇒ Object
Returns the value of attribute name.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def name @name end |
#note ⇒ Object
Returns the value of attribute note.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/tileset.rb', line 24 def note @note end |
#panorama_hue ⇒ Object
Returns the value of attribute panorama_hue.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def panorama_hue @panorama_hue end |
#panorama_name ⇒ Object
Returns the value of attribute panorama_name.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def panorama_name @panorama_name end |
#passages ⇒ Object
Returns the value of attribute passages.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def passages @passages end |
#priorities ⇒ Object
Returns the value of attribute priorities.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def priorities @priorities end |
#terrain_tags ⇒ Object
Returns the value of attribute terrain_tags.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def @terrain_tags end |
#tileset_name ⇒ Object
Returns the value of attribute tileset_name.
35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 35 def tileset_name @tileset_name end |
#tileset_names ⇒ Object
Returns the value of attribute tileset_names.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/tileset.rb', line 24 def tileset_names @tileset_names end |
Instance Method Details
#to_s ⇒ Object
31 32 33 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/tileset.rb', line 31 def to_s @name.to_s end |