#pragma once #include "ObjectManager.h" #include "Vectors.h" typedef enum { blah } AIEvent; typedef void (*EnemyAIModule) (void * , AIEvent, float); #define PYRAMIDROTSPEED 0.001 #define PYRAMIDMOVESPEED 0.001 #define PYRAMIDRANGE (6*6) #define PYRAMIDSHOOTSPEED 3 typedef struct VEnemy { EnemyAIModule Callback; void * Data; VObject Object; float Idle; struct VEnemy * next; /* Linked List */ Boolean taggedForRemoval; int Shields; } VEnemy; void TestAI(void * Enemy, AIEvent Event, float interval); void InitEnemy(VEnemy * e, EnemyAIModule aiMod, void * Data); void CleanUpEnemy(VEnemy * e); void DrawEnemy(VEnemy * e); void RunEnemy(VEnemy * e, float interval); void HitEnemy(VEnemy * e, int Damage);