class

MicroSpaceEmpire::GameState

Inherits JSON::Serializable < Reference < Object

Constructors

new(content_version : String, expansion : Bool)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

acquire_counter
Source
acquire_counter=(acquire_counter : Int32)
Source
active?
Source
built_military
Source
built_military=(built_military : Bool)
Source
collection_trade_used
Source
collection_trade_used=(collection_trade_used : Bool)
Source
content_version
Source
content_version=(content_version : String)
Source
controlled_systems
Source
current_event
Source
current_event=(current_event : String | Nil)
Source
current_system
Source
current_system=(current_system : String | Nil)
Source
diplomacy_available_turn
Source
diplomacy_available_turn=(diplomacy_available_turn : Int32 | Nil)
Source
distant_deck
Source
distant_deck=(distant_deck : Array(String))
Source
event_deck
Source
event_deck=(event_deck : Array(String))
Source
event_draws_this_year
Source
event_draws_this_year=(event_draws_this_year : Int32)
Source
event_pool
Source
event_pool=(event_pool : Array(String))
Source
expansion
Source
expansion=(expansion : Bool)
Source
has_technology?(id : String) : Bool
Source
last_roll
Source
last_roll=(last_roll : Int32 | Nil)
Source
last_transition
Source
last_transition=(last_transition : String)
Source
log=(log : Array(String))
Source
metal
Source
metal=(metal : Int32)
Source
military
Source
military=(military : Int32)
Source
near_deck
Source
near_deck=(near_deck : Array(String))
Source
pending_target
Source
pending_target=(pending_target : String | Nil)
Source
phase
Source
phase=(phase : String)
Source
researched_technology
Source
researched_technology=(researched_technology : Bool)
Source
score
Source
score=(score : Score | Nil)
Source
selected_system_ids
Source
selected_system_ids=(selected_system_ids : Array(String))
Source
status
Source
status=(status : String)
Source
strike_collections
Source
strike_collections=(strike_collections : Int32)
Source
subphase
Source
subphase=(subphase : String)
Source
system_state(id : String) : SystemState | Nil
Source
systems
Source
systems=(systems : Array(SystemState))
Source
technologies
Source
technologies=(technologies : Array(String))
Source
turn
Source
turn=(turn : Int32)
Source
unaligned_systems
Source
wealth
Source
wealth=(wealth : Int32)
Source
year
Source
year=(year : Int32)
Source