Skip to content
Snippets Groups Projects

Uppdaterat API

Merged David Bergström requested to merge hanja189/pycommandcenter:master into master
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 59 59
    60 60 Sends the string 'message' to the game chat
    61 61
    62 .. method:: IDABot.has_creep(self, Point2D) -> Boolean
    63
    64 Returns if the position has a creep
    65
    66 .. method:: IDABot.move_camera(self, Point2DI)
    67
    68 Move the camera to the position
    69
    70 .. method:: IDABot.ability_for_upgrade(self, UpgradeID)
    71
    72 Ability that researches this upgrade
    • Vad är det som returneras här? Gissar på ett AbilityID.

      Skulle du kunna nämna kort hur man kan använda AbilityID:t som returneras? T.ex. att att man kan skicka in det i Units ability-metod?

    • Please register or sign in to reply
  • 70 98 .. autoattribute:: max_supply
    71 99
    72 100 .. autoattribute:: current_frame
    101
    102 Debug
    103 -----
    104
    105 When developing AI-methods or when simply having a problem.
    106 The debug-methods are a great tool for speeding up the process.
    107
    108 .. method:: IDABot.debug_create_unit(self, UnitTypeID, Point2D, Player Constant, Int)
    109
    110 This method creates the nr (INT) of units on the position of the Point2D, the unit
    111 belongs to the Player Constant
  • David Bergström changed title from WIP: to WIP: Uppdaterat API

    changed title from WIP: to WIP: Uppdaterat API

  • added 1 commit

    • 9b0d2b10 - Fix changes for WIP: Uppdaterat API

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • David Bergström unmarked as a Work In Progress

    unmarked as a Work In Progress

  • mentioned in commit 70768e2b

  • mentioned in issue #11 (closed)

  • mentioned in issue #9 (closed)

  • mentioned in issue #12 (closed)

  • mentioned in issue #3 (closed)

  • mentioned in issue #6 (closed)

  • Please register or sign in to reply
    Loading