More work on State System
This commit is contained in:
@ -4,16 +4,9 @@
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "assert/assert.hpp"
|
||||
#include "StateInterfaces.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class IStateProperty {
|
||||
public:
|
||||
std::vector<std::function<void()>> _effectListners;
|
||||
std::vector<std::function<std::function<void()>()>> _effectListnersWithTeardown;
|
||||
std::vector<std::function<void()>> _effectTeardowns;
|
||||
};
|
||||
|
||||
template<class V>
|
||||
class StateProperty : public IStateProperty {
|
||||
private:
|
||||
|
Reference in New Issue
Block a user