Add example allocation of the struct example for the hell of it
This commit is contained in:
parent
942d3442e9
commit
e1ea73c70c
@ -48,8 +48,9 @@ struct MyEventHandler : public IInputMouseSubscriber
|
||||
void onButtonPress(AuUInt8 mb) override;
|
||||
void onButtonTick(AuUInt8 mb) override;
|
||||
void onButtonUp(AuUInt8 mb) override;
|
||||
}
|
||||
};
|
||||
|
||||
auto handle = AuMakeShared<MyEventHandler>();
|
||||
```
|
||||
|
||||
##### Not recommended for small projects and/or people with a shred of sanity left
|
||||
|
Loading…
Reference in New Issue
Block a user