forked from RivkaSchuss/ReversiGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DefaultGameLogic.h
28 lines (21 loc) · 1.08 KB
/
DefaultGameLogic.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
//
// Created by yarin on 06/11/17.
//
#ifndef ASSIGNMENT1_DEFAULTGAMELOGIC_H
#define ASSIGNMENT1_DEFAULTGAMELOGIC_H
#include "AbstractGameLogic.h"
class DefaultGameLogic : public AbstractGameLogic {
public:
DefaultGameLogic();
~DefaultGameLogic();
Location* clearMoveArea(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromUp(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromUpRight(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromRight(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromDownRight(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromDown(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromDownLeft(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromLeft(Cell** table, int size, int rowPos, int colPos, int status);
Location* getFromUpLeft(Cell** table, int size, int rowPos, int colPos, int status);
};
#endif //ASSIGNMENT1_DEFAULTGAMELOGIC_H