Mercurial > fife-parpg
comparison engine/core/model/metamodel/action.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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 %module fife | |
2 %{ | |
3 #include "model/metamodel/action.h" | |
4 %} | |
5 | |
6 %include "util/base/utilbase.i" | |
7 %include "model/metamodel/abstractvisual.i" | |
8 | |
9 namespace FIFE { | |
10 | |
11 class Action : public ResourceClass { | |
12 public: | |
13 Action(const std::string& identifier); | |
14 virtual ~Action(); | |
15 const std::string& getId(); | |
16 void adoptVisual(AbstractVisual* visual); | |
17 template<typename T> T* getVisual() const; | |
18 void setDuration(unsigned int duration); | |
19 unsigned int getDuration(); | |
20 }; | |
21 } |