Class: GBTiles::GBR::TileSet::Object
- Inherits:
-
Object
- Object
- GBTiles::GBR::TileSet::Object
- Defined in:
- lib/gbtiles/gbr/tile_set/object.rb
Direct Known Subclasses
GBTiles::GBR::TileSet::Objects::Palettes, GBTiles::GBR::TileSet::Objects::Producer, GBTiles::GBR::TileSet::Objects::TileData, GBTiles::GBR::TileSet::Objects::TileExport, GBTiles::GBR::TileSet::Objects::TileImport, GBTiles::GBR::TileSet::Objects::TilePal, GBTiles::GBR::TileSet::Objects::TileSettings, GBTiles::GBR::TileSet::Objects::Unknown
Instance Attribute Summary collapse
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#object_type ⇒ Object
Returns the value of attribute object_type.
Instance Method Summary collapse
-
#initialize(object_type) ⇒ Object
constructor
A new instance of Object.
Constructor Details
#initialize(object_type) ⇒ Object
Returns a new instance of Object.
9 10 11 |
# File 'lib/gbtiles/gbr/tile_set/object.rb', line 9 def initialize object_type @object_type = object_type end |
Instance Attribute Details
#object_id ⇒ Object
Returns the value of attribute object_id.
6 7 8 |
# File 'lib/gbtiles/gbr/tile_set/object.rb', line 6 def object_id @object_id end |
#object_type ⇒ Object
Returns the value of attribute object_type.
7 8 9 |
# File 'lib/gbtiles/gbr/tile_set/object.rb', line 7 def object_type @object_type end |