fix event
This commit is contained in:
@@ -18,12 +18,9 @@ namespace VE
|
||||
|
||||
public:
|
||||
virtual void on_attach() {};
|
||||
virtual void on_detach() {};
|
||||
virtual void render() {};
|
||||
virtual void on_event(event e) {};
|
||||
|
||||
void set_event_fn(const event_fn<event>& fn) { execute = fn; };
|
||||
|
||||
protected:
|
||||
event_fn<event> execute;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user