diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-01 05:54:00 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-01 05:54:00 +0000 |
| commit | 9c704c6a0510e9c5f8af8e9c1f810e9688345111 (patch) | |
| tree | dc8e7598702963ca4d4ff260824c031ed4e66ce3 /src/game/client/components/mapimages.hpp | |
| parent | 04eddacd65fd3da680e3d896368cb766b377e6e2 (diff) | |
| download | zcatch-9c704c6a0510e9c5f8af8e9c1f810e9688345111.tar.gz zcatch-9c704c6a0510e9c5f8af8e9c1f810e9688345111.zip | |
added mapimages component
Diffstat (limited to 'src/game/client/components/mapimages.hpp')
| -rw-r--r-- | src/game/client/components/mapimages.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/game/client/components/mapimages.hpp b/src/game/client/components/mapimages.hpp new file mode 100644 index 00000000..e1e0063d --- /dev/null +++ b/src/game/client/components/mapimages.hpp @@ -0,0 +1,15 @@ +#include <game/client/component.hpp> + +class MAPIMAGES : public COMPONENT +{ + int textures[64]; + int count; +public: + MAPIMAGES(); + + int get(int index) const { return textures[index]; } + int num() const { return count; } + + virtual void on_reset(); +}; + |