Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
geo_wars
master
GeoWars
Cursor
Game
Keys
Map
MapCell
MapViewport
Match
Player
Terrain
TerrainConstants
Timer
Units
Knight
Soldier
Unit
Built with Crystal 1.9.2
2023-10-07 18:24:21 UTC
enum
GeoWars::Terrain
Defined in:
geo_wars/terrain.cr
Enum Members
Field
=
0
Forest
=
1
Road
=
2
Water
=
3
Mountain
=
4
Class Method Summary
.random
Instance Method Summary
#color
#defense
#defense_percentage
#field?
#forest?
#mountain?
#moves
#passable?
#road?
#water?
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
]