00001 #ifndef ENEMY_H 00002 #define ENEMY_H 00003 00004 #include "Person.h" 00005 00006 typedef enum { JUMP, FOLLOWSHOOTAHEAD , FOLLOWSHOOT, SITANDSHOOT} AItype; 00007 00008 class Enemy : public Person 00009 { 00010 public: 00011 Enemy(List * enemyInfo, int x, int y); 00012 void update(); 00013 void die(); 00014 00015 void load(List *enemyInfo); 00016 private: 00017 AItype _brain; 00018 }; 00019 00020 #endif