Skip to content
Snippets Groups Projects
Commit 16ac7b58 authored by David Bergström's avatar David Bergström
Browse files

Move declaration of BuildingPlacer

parent 9f40a31f
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ public: ...@@ -43,6 +43,7 @@ public:
const UnitInfoManager & UnitInfo() const; const UnitInfoManager & UnitInfo() const;
CCRace GetPlayerRace(int player) const; CCRace GetPlayerRace(int player) const;
CCPosition GetStartLocation() const; CCPosition GetStartLocation() const;
BuildingPlacer & BuildingPlacer();
int GetCurrentFrame() const; int GetCurrentFrame() const;
int GetMinerals() const; int GetMinerals() const;
...@@ -54,7 +55,6 @@ public: ...@@ -54,7 +55,6 @@ public:
const std::vector<Unit> & GetMyUnits() const; const std::vector<Unit> & GetMyUnits() const;
const std::vector<Unit> GetUnits(const UnitType & type, int player = Players::Self) const; const std::vector<Unit> GetUnits(const UnitType & type, int player = Players::Self) const;
const std::vector<CCPosition> & GetStartLocations() const; const std::vector<CCPosition> & GetStartLocations() const;
BuildingPlacer & BuildingPlacer();
// Not needed, just convenience functions // Not needed, just convenience functions
const TypeData & Data(const UnitType & type) const; const TypeData & Data(const UnitType & type) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment