add update
This commit is contained in:
@@ -19,6 +19,7 @@ namespace VE
|
||||
public:
|
||||
virtual void on_attach() {};
|
||||
virtual void render() {};
|
||||
virtual void update() {};
|
||||
virtual void on_event(event e) {};
|
||||
|
||||
protected:
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
public:\
|
||||
void on_attach() override;\
|
||||
void render() override;\
|
||||
void update() override;\
|
||||
void on_event(VE::event e) override
|
||||
|
||||
#define VE_CONNECT(DEF_CLASS) VE::event_manager::instance().connect(std::bind(&DEF_CLASS::on_event, this, std::placeholders::_1));
|
||||
|
||||
Reference in New Issue
Block a user