class Dedalus::Elements::MapTile
Attributes
asset_height[RW]
asset_width[RW]
frame[RW]
highlight[RW]
path[RW]
scale[RW]
Public Class Methods
description()
click to toggle source
# File lib/dedalus/elements/map_tile.rb, line 22 def self.description 'example of a custom tile class for image grid/sprite field' end
example_data()
click to toggle source
# File lib/dedalus/elements/map_tile.rb, line 26 def self.example_data Sprite.example_data end
Public Instance Methods
show()
click to toggle source
# File lib/dedalus/elements/map_tile.rb, line 8 def show tile_sprite end
tile_sprite()
click to toggle source
# File lib/dedalus/elements/map_tile.rb, line 12 def tile_sprite Sprite.new( frame: frame, asset_width: asset_width, asset_height: asset_height, path: path, scale: scale ) end