Mercurial > fife-parpg
view engine/core/util/time/timeevent.i @ 10:ab09325f901e
Camera was attached to instance on a different layer, resulting in strange scrolling. Fixed it, and added a check to prevent this happening again (attach-to-other-layer fails and logs a warning).
author | jwt@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 06 Jul 2008 17:13:06 +0000 |
parents | 4a0efb7baf70 |
children | 90005975cdbb |
line wrap: on
line source
%module fife %{ #include "util/time/timeevent.h" %} namespace FIFE { %feature("director") TimeEvent; class TimeEvent { public: TimeEvent(int period = -1); virtual ~TimeEvent(); virtual void updateEvent(unsigned long time) = 0; void setPeriod(int period); int getPeriod(); }; }