I developed a LevelSystem class, along with a CBrick component for use in it and an EStageCleared event that is triggered upon all the bricks being removed.

The class currently creates a 8x8 grid of entities with Transform components.
This commit is contained in:
PlatinumSkink
2015-09-09 21:10:10 +02:00
parent ec137acb38
commit 5d753babe6
6 changed files with 196 additions and 25 deletions
+26
View File
@@ -0,0 +1,26 @@
//
// 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 Points = 10;
int Hits = 1;
};
}
}
#endif //DAYDREAM_CBRICK_H