class FogOfWar::FloorTile

Defined in:

fog_of_war/floor_tile.cr

Constant Summary

Color = SF::Color.new(54, 36, 25)
TileSize = 32

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(visibility : FogOfWar::Visibility = Visibility::None) #

[View source]

Class Method Detail

def self.size #

[View source]

Instance Method Detail

def collision_with_circle?(col, row, min_x, min_y, cx, cy, radius) #

[View source]
def draw(window, col, row, min_x, min_y) #

[View source]
def draw_visibility(window, col, row, min_x, min_y) #

[View source]
def explore #

[View source]
def explored=(explored : Bool) #

[View source]
def explored? : Bool #

[View source]
def reset_visibility #

[View source]
def size #

[View source]
def visibility : Visibility #

[View source]
def visibility=(visibility : Visibility) #

[View source]