vrshoot
annotate src/enemy.h @ 2:334d17aed7de
visual studio project files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 18:36:38 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef ENEMY_H_ |
nuclear@0 | 2 #define ENEMY_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 class XFormNode; |
nuclear@0 | 5 class Scene; |
nuclear@0 | 6 |
nuclear@0 | 7 class Enemy { |
nuclear@0 | 8 private: |
nuclear@0 | 9 Scene *scn; |
nuclear@0 | 10 XFormNode *root; |
nuclear@0 | 11 |
nuclear@0 | 12 public: |
nuclear@0 | 13 Enemy(); |
nuclear@0 | 14 ~Enemy(); |
nuclear@0 | 15 |
nuclear@0 | 16 bool load(const char *fname); |
nuclear@0 | 17 |
nuclear@0 | 18 void update(long tm); |
nuclear@0 | 19 void draw() const; |
nuclear@0 | 20 }; |
nuclear@0 | 21 |
nuclear@0 | 22 #endif // ENEMY_H_ |