-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from beergame/develop
V1.0
- Loading branch information
Showing
19 changed files
with
755 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,32 @@ | ||
#ifndef PACKMAN_MAP_HH | ||
#define PACKMAN_MAP_HH | ||
# define PACKMAN_MAP_HH | ||
|
||
#include <vector> | ||
#include <math.h> | ||
#include <SFML/Graphics.hpp> | ||
#include <iterator> | ||
# include <vector> | ||
# include <math.h> | ||
# include <SFML/Graphics.hpp> | ||
# include <iterator> | ||
|
||
class Map { | ||
class Map | ||
{ | ||
private: | ||
std::vector<std::vector<int> > map; | ||
|
||
std::vector<std::vector<int>> map; | ||
public: | ||
int checkMap(double, double); | ||
Map(std::vector<std::vector<int> >); | ||
std::vector<std::vector<int> > getMap(); | ||
void cleanElement(double, double); | ||
void Draw(sf::RenderWindow*); | ||
}; | ||
/* fingerprint packman for monster IA */ | ||
int packmanPrint[3][2]; | ||
|
||
int checkMap(double, double); | ||
|
||
int checkWays(double, double); | ||
|
||
Map(std::vector<std::vector<int>>); | ||
|
||
std::vector<std::vector<int>> getMap(); | ||
|
||
void cleanElement(double, double); | ||
|
||
void Draw(sf::RenderWindow *); | ||
|
||
void movePackmanFp(int, int, int, int, int); | ||
}; | ||
|
||
#endif //PACKMAN_MAP_HH |
Oops, something went wrong.