From bfed4aba05fbe9a39a2a4ac291ae153539e1264b Mon Sep 17 00:00:00 2001 From: Raphael Maenle <17550607+g-spacewhale@users.noreply.github.com> Date: Thu, 21 Dec 2017 13:35:13 +0100 Subject: [PATCH] added positive ageing to destructionPower --- .../DestructionPower/DestructionPower.cpp | 12 +++++++++--- Source/header.h | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Source/functions/AbstractionLayers/DestructionPower/DestructionPower.cpp b/Source/functions/AbstractionLayers/DestructionPower/DestructionPower.cpp index f0527ac..4737af2 100644 --- a/Source/functions/AbstractionLayers/DestructionPower/DestructionPower.cpp +++ b/Source/functions/AbstractionLayers/DestructionPower/DestructionPower.cpp @@ -4,7 +4,7 @@ #include "DestructionPower.h" - +//TODO! Add more layers here! map DestructionPower_Properties::SpeedTable = { {1,0.001} @@ -48,7 +48,13 @@ void DestructionPower::DestructionOfSurrounding(const coor constraintCoordinate) newDestructionArray[i] /=divisor; } } + DestructionPower_Properties::DestructionPower_Properties() { - for(int i=0;i