Package populus :: Module PathFinder :: Class GridMaker
[frames] | no frames]

Class GridMaker

The grid maker creates grids with given size and scale. Current version can only handle walls that are described with start-, end-point and width. As well it is based on a wall class that is not in the normal version of the system but should be easy to convert for the editor since the walls there use the same description.

Instance Methods
 
__init__(self, navigator)
 
makeGrid(self, name, scale, size, walls)
 
markWall(self, start, stop, width, grid)
Marks the tiles in the grid based on location of the walls