NON FINAL: added dp calculation and most of RW code, included david code
still not runable code as dispatcher functions are only placeholders!
This commit is contained in:
@ -25,5 +25,8 @@ public:
|
||||
void DestructionOfSurrounding(coor constraintCoordinate);
|
||||
int getNextAbstractionLayer(coor newCoordinate, int currentAbstractionLayer);
|
||||
|
||||
void setDestructionPower(coor myCoor, int AbstractionLevel, float destructionPower)
|
||||
{ m_constraintMatrix[myCoor.col][myCoor.row].DestructionArray[AbstractionLevel] = destructionPower;}
|
||||
|
||||
private:
|
||||
};
|
||||
|
@ -14,13 +14,13 @@ class DestructionPower_Properties
|
||||
{
|
||||
public:
|
||||
explicit DestructionPower_Properties();
|
||||
map<int,float> getSpeedTable() {return SpeedTable;}
|
||||
void setSpeedTable();
|
||||
static map<int,float> SpeedTable;
|
||||
|
||||
|
||||
vector<float> DestructionArray;
|
||||
|
||||
private:
|
||||
|
||||
static map<int,float> SpeedTable;
|
||||
vector<float> DestructionArray;
|
||||
friend class DestructionPower;
|
||||
|
||||
};
|
Reference in New Issue
Block a user