-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIGameModule.hpp
39 lines (33 loc) · 948 Bytes
/
IGameModule.hpp
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
/*
** EPITECH PROJECT, 2019
** OOP_arcade_2018
** File description:
** IGameModule
*/
#ifndef IGAMEMODULE_HPP_
#define IGAMEMODULE_HPP_
#include <iostream>
#include <string>
#include <list>
#include <vector>
#include <fstream>
class IGameModule {
public:
virtual ~IGameModule() = default;
virtual void init() = 0;
virtual bool play() = 0;
virtual char * test() = 0;
virtual std::vector<std::string> get_map() = 0;
virtual std::vector<std::string> get_number_map() = 0;
virtual void set_dir(char dir) = 0;
virtual void increase_numbers_map(int x, int y, char dol) = 0;
virtual void number_map_to_map() = 0;
virtual int get_size() = 0;
virtual bool move_ghost(int gost_y, int gost_x, int y, int x) = 0;
virtual void initialize_values() = 0;
virtual int get_game_time() = 0;
protected:
private:
};
typedef IGameModule *init_g();
#endif /* !IGAMEMODULE_HPP_ */