-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGame_board.h
50 lines (44 loc) · 1.25 KB
/
Game_board.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
44
45
46
47
48
49
50
//
// Created by 38063 on 24.12.2019.
//
#ifndef UNTITLED6_GAME_BOARD_H
#define UNTITLED6_GAME_BOARD_H
#include "Space.h"
#include "Move_action.h"
#include "Player.h"
#include <string>
#include <array>
#include <vector>
class Game_Board{
//Space spaces[40];
std::array<Space, 40> spaces;
Player* players;
MoveAction movement;
public:
Game_Board();
void create_players(int);
void set_player_name(int , std::string );
void set_game_piece(int , std::string );
std::string get_player_name(int );
std::string get_game_piece(int );
void move(int , int );
Player* get_player(int );
int get_player_location(int );
int get_player_money(int );
std::string space_type(int );
int get_space_ownership(int );
int get_space_property_cost(int );
void set_space_ownership(int , int );
int get_space_rent(int );
int get_space_tax(int );
int get_space_free_parking(int );
std::string get_space_name(int , int );
void upgrade_space(int );
bool is_player_alive(int );
void player_lost(int );
int get_space_x(int);
int get_space_y(int);
void set_space_occupied(int );
bool get_space_occupied(int );
};
#endif //UNTITLED6_GAME_BOARD_H