view engine/core/model/metamodel/action.i @ 41:b661ba234c3b

hooked unittest++ into scons ext building
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 12 Jul 2008 14:45:59 +0000
parents 4a0efb7baf70
children 90005975cdbb
line wrap: on
line source

%module fife
%{
#include "model/metamodel/action.h"
%}

%include "util/base/utilbase.i"
%include "model/metamodel/abstractvisual.i"

namespace FIFE {

	class Action : public ResourceClass {
	public:
		Action(const std::string& identifier);
		virtual ~Action();
		const std::string& getId();
		void adoptVisual(AbstractVisual* visual);
		template<typename T> T* getVisual() const;
		void setDuration(unsigned int duration);
		unsigned int getDuration();
	};
}