enum GeoWars::Terrain

Defined in:

geo_wars/terrain.cr

Enum Members

Field = 0
Forest = 1
Road = 2
Water = 3
Mountain = 4

Class Method Summary

Instance Method Summary

Class Method Detail

def self.random #

[View source]

Instance Method Detail

def color #

[View source]
def defense #

[View source]
def defense_percentage #

[View source]
def field? #

[View source]
def forest? #

[View source]
def mountain? #

[View source]
def moves #

[View source]
def passable? #

[View source]
def road? #

[View source]
def water? #

[View source]