Files
2015-10-22 15:42:28 +02:00

41 lines
786 B
C++

//
// Created by Adniklastrator on 2015-09-09.
//
#ifndef DAYDREAM_CBRICK_H
#define DAYDREAM_CBRICK_H
#include "Core/Component.h"
namespace dd
{
namespace Components
{
struct Brick : Component
{
int Score = 50;
//0 = empty, 1 = normal, 2 = multi-brick, 3 = lifebuoy, 4 = sticky, 5 = blaster, 6 = kraken
int Type = 0;
bool Removed = false;
int Number = 100; // For the Kraken to keep track of which bricks needs replacing.
bool BeingGenerated = false;
glm::vec3 GenerationGoal;
//What number of types each is.
const int EmptyBrickSpace = 0;
const int StandardBrick = 1;
const int MultiBallBrick = 2;
const int LifebuoyBrick = 3;
const int StickyBrick = 4;
const int InkBlasterBrick = 5;
const int KrakenAttackBrick = 6;
};
}
}
#endif //DAYDREAM_CBRICK_H