Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
risk
master
Risk
Continent
Font
Game
HUD
Joysticks
Keys
Manager
Map
Mouse
Player
Scene
Main
Start
Screen
Stage
Territory
Generated using Crystal 1.14.0
2024-11-26 09:01:11 UTC
class
Risk::
Continent
Risk::Continent
Reference
Object
Defined in:
risk/continent.cr
Constructors
.new
(name : String, bonus : UInt8, territories : Array(String))
Instance Method Summary
#bonus
: UInt8
#name
: String
#territories
: Array(String)
Constructor Detail
def self.
new
(name : String, bonus : UInt8, territories : Array(String))
#
[
View source
]
Instance Method Detail
def
bonus
: UInt8
#
[
View source
]
def
name
: String
#
[
View source
]
def
territories
: Array(String)
#
[
View source
]