Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
MicroSpaceEmpire::GameEngine
Inherits
Reference
<
Object
Constructors
new
(content :
Content
, random :
RandomSource
=
SecureRandomSource
.new)
Source
Instance methods
apply
(state :
GameState
, action :
String
, target :
String
|
Nil
= nil, choice :
String
|
Nil
= nil) :
Nil
Source
can_explore_distant?
(state :
GameState
) :
Bool
Source
can_explore_near?
(state :
GameState
) :
Bool
Source
can_research?
(state :
GameState
, tech :
Technology
) :
Bool
Source
content
Source
military_cap
(state :
GameState
) :
Int32
Source
new_game
(expansion :
Bool
) :
GameState
Source
production
(state :
GameState
) :
Tuple
(
Int32
,
Int32
)
Source
storage_cap
(state :
GameState
) :
Int32
Source