class GeoWars::MapCell

Defined in:

geo_wars/map_cell.cr

Constant Summary

BORDER_COLOR = LibRay::DARKGRAY
BORDER_INSET_SIZE = 0

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32, terrain : GeoWars::Terrain) #

[View source]

Class Method Detail

def self.deserialize(line) #

[View source]

Instance Method Detail

def clear_unit #

[View source]
def draw(viewport) #

[View source]
def serialize #

[View source]
def terrain : Terrain #

[View source]
def terrain=(terrain : Terrain) #

[View source]
def unit : Units::Unit | Nil #

[View source]
def unit=(unit : Units::Unit | Nil) #

[View source]
def unit? #

[View source]
def update #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]