Class: Sc2::Player::Observer
- Inherits:
-
Sc2::Player
- Object
- Sc2::Player
- Sc2::Player::Observer
- Defined in:
- lib/sc2ai/player.rb
Overview
A spectator for a Match
Constant Summary
Constants inherited from Sc2::Player
Instance Attribute Summary
Attributes inherited from Sc2::Player
#IDENTIFIED_RACES, #ai_build, #api, #difficulty, #enable_feature_layer, #interface_options, #name, #opponent_id, #race, #realtime, #step_count, #type
Attributes included from GameState
#chats_received, #data, #game_info, #game_info_loop, #game_loop, #observation, #result, #spent_minerals, #spent_supply, #spent_vespene, #status
Instance Method Summary collapse
-
#initialize(name: nil) ⇒ Observer
constructor
A new instance of Observer.
Methods inherited from Sc2::Player
#connect, #create_game, #disconnect, #join_game, #leave_game, #race_unknown?, #refresh_game_info, #requires_client?
Methods included from GameState
#available_abilities, #common, #game_info_stale?, #on_status_change