struct Engine::TileMap

Included Modules

Extended Modules

Defined in:

engine/engine.cr
gui/general.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(data : Int32) #

[View source]

Class Method Detail

def self.use_fast_cannon? #

Magic method to mark this structure as being fast en-/decodable.


[View source]

Instance Method Detail

def draw_frame(frame, pos : Vector2, scale = v2(1, 1), angle = 0.0, color = Color::WHITE) #

[View source]
def draw_rect(frame, box, size, color = Color::WHITE) #

[View source]
def to_unsafe #

[View source]