Class structure, updated UML

Missing : actual code, decorators
This commit is contained in:
trotFunky 2019-06-06 21:30:39 +02:00
parent 2b9593bee8
commit 67435debe6
9 changed files with 113 additions and 10 deletions

View file

@ -5,13 +5,26 @@
#ifndef SRC_LEVEL_H
#define SRC_LEVEL_H
#include <SFML/Graphics.hpp>
#include <vector>
#include "Entity.h"
#include "Game.h"
class Level {
Level();
public:
Level(const TextureStore& textureStore);
void render(sf::RenderWindow& renderWindow) const;
void runStep() const;
private:
int width;
int height;
const sf::Vector2i size;
std::vector<Entity> entities;
const TextureStore& textures;
};