#include "obstacle.h"
#include "hashtable.h"
#include <stdio.h>
Include dependency graph for obstacle_grid.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
class | EraseFunc |
The EraseFunc class is used by for_each_2d_vector (used by erase ()) and erases the pointer to the Obstacle from each of the squares that it is in. More... | |
class | MyFuncBase |
The MyFuncBase class stores information for use with for_each_2d_vector . More... | |
class | ObstacleGrid |
this constant is one divided by the width/height of each 'square' used for collisions with Obstacle s. ObstacleGrid is a class in each Surface that keeps track of every Obstacle on that Surface. More... | |
class | PutFunc |
The PutFunc class is used by for_each_2d_vector (used by put ()) and puts the pointer to the Obstacle in each of the squares that it is in. More... | |
class | VectorHash |
This is a hash of a (2-dimensional) Vector to allow for sorting of Obstacle s by using a square system. This is used by ObstacleGrid . More... |