1 #ifndef PUYOPLAYER_H
2 #define PUYOPLAYER_H
3 
4 #include "PuyoView.h"
5 #include "PuyoGame.h"
6 
7 class PuyoPlayer {
8 
9 protected:
10     PuyoView *attachedView;
11     PuyoGame *attachedGame;
12 
13 public:
PuyoPlayer(PuyoView * targetView)14     PuyoPlayer(PuyoView *targetView) : attachedView(targetView)
15     {
16         attachedGame = targetView->getAttachedGame();
17     }
18     virtual void cycle() = 0;
19 
20 };
21 
22 #endif
23