1 
2 #ifndef _BALLOS_H
3 #define _BALLOS_H
4 
5 #define NUM_EYES		2
6 enum TRIGDIR { LESS_THAN=0, GREATER_THAN=1 };
7 
8 class BallosBoss : public StageBoss
9 {
10 public:
11 	void OnMapEntry();
12 	void Run();
13 	void RunAftermove();
14 
15 private:
16 	void RunForm1(Object *o);
17 	void RunForm2(Object *o);
18 	void RunForm3(Object *o);
19 	void RunComeDown(Object *o);
20 	void RunDefeated(Object *o);
21 
22 	void run_eye(int index);
23 	void place_eye(int index);
24 	void SetEyeStates(int newstate);
25 
26 	bool passed_xcoord(bool ltgt, int xcoord, bool reset=false);
27 	bool passed_ycoord(bool ltgt, int ycoord, bool reset=false);
28 
29 	Object *main;
30 	Object *body;
31 	Object *eye[NUM_EYES];
32 	Object *shield;		// top shield to cover eyes from above
33 };
34 
35 
36 #endif
37