fully added color implementation
This commit is contained in:
@ -71,10 +71,10 @@ float DestructionPower::defaultDestructionPower(int i)
|
||||
//gets next highest valued abstraction layer down from current one (if first, get highest)
|
||||
int DestructionPower::getNextAbstractionLayer(coor newCoordinate, int currentAbstractionLayer)
|
||||
{
|
||||
if(++currentAbstractionLayer>=DESTRUCTION_COUNT)
|
||||
return -1;
|
||||
else
|
||||
return currentAbstractionLayer;
|
||||
//hardcode advance
|
||||
if(currentAbstractionLayer<DESTRUCTION_COUNT)
|
||||
return ++currentAbstractionLayer;
|
||||
return -1;
|
||||
|
||||
float currentPower = 1;
|
||||
int nextLayer=-1;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
//TODO!! increase Destructioncount
|
||||
#define DESTRUCTION_COUNT 3
|
||||
#define DESTRUCTION_COUNT 4
|
||||
|
||||
#include "DestructionPower_Properties.h"
|
||||
#include "../AbstraktionLayer_Base.h"
|
||||
|
Reference in New Issue
Block a user