Class: Configs::Project::Display::TilemapSettings

Inherits:
Object
  • Object
show all
Defined in:
docs/000_a_root.rb

Overview

Data class describing Tilemap configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(v) ⇒ TilemapSettings

Returns a new instance of TilemapSettings.



282
283
# File 'docs/000_a_root.rb', line 282

def initialize(v)
end

Instance Attribute Details

#autotile_idle_frame_countInteger (readonly)

Get the number of frame autotiles does not animate

Returns:

  • (Integer)


266
267
268
# File 'docs/000_a_root.rb', line 266

def autotile_idle_frame_count
  @autotile_idle_frame_count
end

#centerPoint (readonly)

Get the center of the screen in sub pixel size

Returns:



275
276
277
# File 'docs/000_a_root.rb', line 275

def center
  @center
end

#character_sprite_zoomFloat (readonly)

Get the zoom of the sprite as character

Returns:

  • (Float)


272
273
274
# File 'docs/000_a_root.rb', line 272

def character_sprite_zoom
  @character_sprite_zoom
end

#character_tile_zoomFloat (readonly)

Get the zoom of the tiles as character

Returns:

  • (Float)


269
270
271
# File 'docs/000_a_root.rb', line 269

def character_tile_zoom
  @character_tile_zoom
end

#map_linker_offsetPoint (readonly)

Get the map linker offset

Returns:



278
279
280
# File 'docs/000_a_root.rb', line 278

def map_linker_offset
  @map_linker_offset
end

#tilemap_classString (readonly)

Get the tilemap class

Returns:



260
261
262
# File 'docs/000_a_root.rb', line 260

def tilemap_class
  @tilemap_class
end

#tilemap_sizePoint (readonly)

Get the size of the tilemap

Returns:



263
264
265
# File 'docs/000_a_root.rb', line 263

def tilemap_size
  @tilemap_size
end

#uses_old_map_linkerBoolean (readonly)

Tell if the game uses the old map linker settings

Returns:

  • (Boolean)


281
282
283
# File 'docs/000_a_root.rb', line 281

def uses_old_map_linker
  @uses_old_map_linker
end