Skip to content
Snippets Groups Projects

feat: add is_carrying_minerals field for Unit class

Merged Dawid Lukasz Abucewicz requested to merge dawab699/pycommandcenter:master into master
1 unresolved thread

Every unit has now a field is_carrying_minerals that will return True if the unit holds minerals, False otherwise.

Edited by Dawid Lukasz Abucewicz

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
  • 425 425 BOT_ASSERT(isValid(), "Unit is not valid");
    426 426 m_bot->Actions()->UnitCommand(m_unit, sc2::ABILITY_ID::STOP_DANCE);
    427 427 }
    428
  • Lägg till dokumentation i docs också, så att metoden kommer med i dokumentationen. Mer instruktioner kring krav vid merge requests finns här:

    http://starcraft-ai-course.gitlab-pages.liu.se/pycommandcenter/contributing.html#contributing

  • added 1 commit

    • c8efaba3 - Apply suggestion to src/Unit.h

    Compare with previous version

  • added 1 commit

    • 8c6b04cd - Apply suggestion to python-api-src/lib_unit.cpp

    Compare with previous version

  • added 2 commits

    • 46b7b2d6 - refactor: change some files needed for merge request
    • ec132ddd - Merge branch 'master' of gitlab.liu.se:dawab699/pycommandcenter

    Compare with previous version

  • Bra jobbat! Jag gör mergen nu.

  • mentioned in commit 32cfd745

  • Please register or sign in to reply
    Loading