| Pacman
    1.0
    Pacman game | 
Maze class. Plus de détails...
#include <Maze.h>
| Fonctions membres publiques | |
| Maze () | |
| Construct a new Maze object.  Plus de détails... | |
| ~Maze () | |
| char | getCell (int row, int col) const | 
| int | getWidth () const | 
| int | getHeight () const | 
| std::vector< std::shared_ptr< Intersection > > | getIntersections () const | 
| std::shared_ptr< Intersection > | getIntersection (int index) const | 
| std::vector< std::shared_ptr< Gomme > > | getGommes () const | 
| void | clearGomme (std::shared_ptr< Gomme > gomme) | 
| Attributs privés | |
| std::vector< std::vector< int > > | cells | 
| std::vector< std::shared_ptr< Intersection > > | intersections | 
| std::vector< std::shared_ptr< Gomme > > | gommes | 
| int | width | 
| int | height | 
Maze class.
this class stores the maze, the intersections and the gommes (pac-dots and power pellets).
| Maze::Maze | ( | ) | 
Construct a new Maze object.
| Maze::~Maze | ( | ) | 
| void Maze::clearGomme | ( | std::shared_ptr< Gomme > | gomme | ) | 
| char Maze::getCell | ( | int | row, | 
| int | col | ||
| ) | const | 
| std::vector< std::shared_ptr< Gomme > > Maze::getGommes | ( | ) | const | 
| int Maze::getHeight | ( | ) | const | 
| std::shared_ptr< Intersection > Maze::getIntersection | ( | int | index | ) | const | 
| std::vector< std::shared_ptr< Intersection > > Maze::getIntersections | ( | ) | const | 
| int Maze::getWidth | ( | ) | const | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private |