2017-12-20 22:05:04 +01:00
|
|
|
//
|
|
|
|
// Created by mpapa on 05.12.2017.
|
|
|
|
//
|
2017-12-21 12:20:57 +01:00
|
|
|
#pragma once
|
2017-12-20 22:05:04 +01:00
|
|
|
|
2017-12-21 12:20:57 +01:00
|
|
|
#define DESTRUCTION_INIT 0.5
|
2017-12-20 22:05:04 +01:00
|
|
|
#include <stdint.h>
|
2017-12-21 12:20:57 +01:00
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
using namespace std;
|
2017-12-20 22:05:04 +01:00
|
|
|
|
|
|
|
class DestructionPower_Properties
|
|
|
|
{
|
|
|
|
public:
|
2017-12-21 12:20:57 +01:00
|
|
|
explicit DestructionPower_Properties();
|
2017-12-21 12:43:31 +01:00
|
|
|
map<int,float> getSpeedTable() {return SpeedTable;}
|
2017-12-21 12:20:57 +01:00
|
|
|
void setSpeedTable();
|
2017-12-20 23:01:04 +01:00
|
|
|
|
2017-12-20 22:05:04 +01:00
|
|
|
private:
|
2017-12-20 23:01:04 +01:00
|
|
|
|
|
|
|
static map<int,float> SpeedTable;
|
2017-12-21 12:20:57 +01:00
|
|
|
vector<float> DestructionArray;
|
2017-12-20 22:05:04 +01:00
|
|
|
friend class DestructionPower;
|
|
|
|
|
2017-12-21 12:20:57 +01:00
|
|
|
};
|