9 #include "GarbageGenerator.h"
10 #include "ComputerPlayerAI.h"
12 class GarbageQueueElement
;
13 class ComputerPlayerAI
;
20 void add ( int height
, int width
, int flavor
);
21 void add ( GarbageQueueElement
*element
);
26 GSList
*specialGarbage ( );
30 void sendToGenerator ( );
32 GSList
*garbage_queue
;
36 /* static */ class ComputerPlayer
{
39 static GarbageQueue
*queue
;
40 static ComputerPlayerAI
*ai
;
42 static void determineLoss ( );
45 static void gameStart ( );
46 static void timeStep ( );
47 static int gameFinish ( );
49 static void addGarbage ( int height
, int width
, int flavor
) {
51 queue
->add(height
, width
, flavor
);