-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGBoard.h
43 lines (28 loc) · 923 Bytes
/
GBoard.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/****************************************************************************************************
* * Program name: CS162 Group Project
* * Group number: # 29
* * Group member: Taekyoung Kim, Zuhair Ahmed
* * Date: 02/10/2019
* * Description: This is GBoard.h file for CS162 GroupProject
* * This project demonstrates a 2D simulation of Predator-Prey Game.
* * The board is a 2D array and each cell points to a Critter.
******************************************************************************************************/
#ifndef GBOARD_H
#define GBOARD_H
#include "Critter.h"
#include "Ant.h"
class GBoard {
private:
Critter*** board;
const int SIZE = 20;
protected:
public:
GBoard();
~GBoard();
Critter*** setBoard();
void fillBoard(Critter*** b);
void displayBoard(Critter*** b);
void oneLotate(Critter*** b);
void deleteBoard(Critter*** b);
};
#endif //GBOARD_H