relatório limpo. falta começar apresentação.
[xYpjg3TdSw.git] / RandomEnemy.h
blob26cfb88ee247d3acbc57dc455fd23c1cd2033c12
1 #ifndef __RANDOM_ENEMY_H__
2 #define __RANDOM_ENEMY_H__
4 #include "Enemy.h"
6 #include <ctime>
7 #include <cstdlib>
9 class RandomEnemy: public Enemy
11 public:
12 RandomEnemy(bool player, int minimaxDepth): Enemy(player, minimaxDepth) { srand((unsigned) time(NULL)); }
13 void move(Board *board, int& fromX, int& fromY, int& toX, int& toY);
16 #endif