mirror of
https://github.com/NickTheFox99/ChristmOS.git
synced 2026-08-13 01:48:41 -04:00
Begin work on Snow::Manager
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include "manager.h"
|
||||
#include <memory>
|
||||
|
||||
namespace Snow {
|
||||
|
||||
Manager::Manager() = default;
|
||||
|
||||
void Manager::NewSnow() { std::make_unique<Snow>(); }
|
||||
void Manager::Update() {}
|
||||
|
||||
} // namespace Snow
|
||||
+15
-1
@@ -1,3 +1,17 @@
|
||||
#include "snow.h"
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace Snow {
|
||||
class Manager {};
|
||||
class Manager {
|
||||
public:
|
||||
Manager();
|
||||
void NewSnow();
|
||||
void Update();
|
||||
void Draw();
|
||||
~Manager();
|
||||
|
||||
private:
|
||||
std::vector<std::unique_ptr<Snow>> snows;
|
||||
};
|
||||
} // namespace Snow
|
||||
|
||||
Reference in New Issue
Block a user