diff engine/core/util/time/timeevent.i @ 0:4a0efb7baf70

* Datasets becomes the new trunk and retires after that :-)
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 29 Jun 2008 18:44:17 +0000
parents
children 90005975cdbb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/engine/core/util/time/timeevent.i	Sun Jun 29 18:44:17 2008 +0000
@@ -0,0 +1,16 @@
+%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();
+	};
+}