sc2ai 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/data/stableid.json +424 -2562
  3. data/data/versions.json +8 -0
  4. data/lib/docker_build/Dockerfile.ruby +1 -1
  5. data/lib/sc2ai/api/ability_id.rb +12 -314
  6. data/lib/sc2ai/api/buff_id.rb +9 -16
  7. data/lib/sc2ai/api/data.rb +1 -4
  8. data/lib/sc2ai/api/tech_tree.rb +35 -0
  9. data/lib/sc2ai/api/tech_tree_data.rb +14 -9
  10. data/lib/sc2ai/api/unit_type_id.rb +6 -58
  11. data/lib/sc2ai/api/upgrade_id.rb +9 -9
  12. data/lib/sc2ai/connection/requests.rb +34 -16
  13. data/lib/sc2ai/data.rb +101 -0
  14. data/lib/sc2ai/local_play/match.rb +1 -3
  15. data/lib/sc2ai/player/actions.rb +8 -4
  16. data/lib/sc2ai/player/debug.rb +2 -3
  17. data/lib/sc2ai/player/game_state.rb +36 -5
  18. data/lib/sc2ai/player/geometry.rb +138 -55
  19. data/lib/sc2ai/player/previous_state.rb +2 -1
  20. data/lib/sc2ai/player/units.rb +66 -3
  21. data/lib/sc2ai/player.rb +5 -3
  22. data/lib/sc2ai/protocol/_meta_documentation.rb +18 -0
  23. data/lib/sc2ai/protocol/extensions/ability_remapable.rb +22 -0
  24. data/lib/sc2ai/protocol/extensions/point.rb +3 -1
  25. data/lib/sc2ai/protocol/extensions/point_2_d.rb +1 -1
  26. data/lib/sc2ai/protocol/extensions/point_distance.rb +11 -0
  27. data/lib/sc2ai/protocol/extensions/position.rb +48 -13
  28. data/lib/sc2ai/protocol/extensions/unit.rb +54 -3
  29. data/lib/sc2ai/protocol/extensions/unit_type.rb +9 -0
  30. data/lib/sc2ai/unit_group/action_ext.rb +3 -3
  31. data/lib/sc2ai/unit_group/filter_ext.rb +33 -7
  32. data/lib/sc2ai/unit_group/geo_ext.rb +28 -0
  33. data/lib/sc2ai/unit_group.rb +3 -0
  34. data/lib/sc2ai/version.rb +1 -1
  35. data/lib/templates/new/run_example_match.rb.tt +1 -1
  36. data/sig/sc2ai.rbs +653 -567
  37. metadata +22 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d5fa6b7fff442809e2ec57d6be947f77411cfd2885a984806d05a7cd086aa78
4
- data.tar.gz: 2c154a7a33c3c0fe9409f122e4d938f9f0c6184cd46fd119662084ff23852c17
3
+ metadata.gz: 482ef8f55c73a181336c147067712ddb0c6ef1212f9ac22d3dd319d250c817e8
4
+ data.tar.gz: a980d4bf7f21f5d6aec59bde8f6ef2bd8911d76ba3e4a77c40983265e1f8db26
5
5
  SHA512:
6
- metadata.gz: 99941030dbe574eea5f1f022d91ce688a9cbf0ea7480f0c228f38f882deee486379377fbc2e173845e2201bc738640b5516e951e868c63d5387c82fe260e87c4
7
- data.tar.gz: 851c9f29edbc84cf6081b59d0808ec1ee132f407c8d663b17ea376e4308db0cf8dbc40b122052f2aa3cd7011bb6a3a226ba5ae656180f1cb8a764349020fca83
6
+ metadata.gz: 80abb4253b9144a1a333d6859c8dc6b2e1bd0e47cda83a0d55256f40ba6d0129c62335cd4efdd67d139de9b533ce7ad406fc6beb60bb11e6833615504159b835
7
+ data.tar.gz: 0b733c21417ea8cf023aa94cb0cffc0e5a6482e3ba5cdb2b27cc2cd173dc0afea48acce70f73e4bce5b3f5713f73e52a5f4f19dc715c0fc3355e43f8ac441333