diff options
Diffstat (limited to 'common/events.h')
-rw-r--r-- | common/events.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/events.h b/common/events.h index d0cb740692..3e77824110 100644 --- a/common/events.h +++ b/common/events.h @@ -142,6 +142,11 @@ public: */ virtual bool pollEvent(Common::Event &event) = 0; + /** + * Pushes a "fake" event into the event queue + */ + virtual void pushEvent(Common::Event event) = 0; + /** Register random source so it can be serialized in game test purposes **/ virtual void registerRandomSource(Common::RandomSource &rnd, const char *name) = 0; |