Method: Sc2::Player::Geo#map_width
- Defined in:
- lib/sc2ai/player/geo.rb
#map_width ⇒ Integer
Gets the map tile width. Range is 1-255. Effected by crop_to_playable_area
41 42 43 44 |
# File 'lib/sc2ai/player/geo.rb', line 41 def map_width # bot.bot.game_info @map_width ||= bot.game_info.start_raw.map_size.x end |