view engine/core/util/time/timeevent.i @ 3:6387bbc0c2d5

Changed guichan references in event manager to widgets. This is to keep eventmanager code more independent of guichan.
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 02 Jul 2008 10:57:23 +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();
	};
}