added interface for walkers

some new helper methods
added interpolater for paths
This commit is contained in:
2016-01-28 21:48:04 +01:00
parent c4ea811342
commit da0bd43fe0
10 changed files with 92 additions and 66 deletions

15
grid/walk/GridWalk.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef GRIDWALK_H
#define GRIDWALK_H
#include "GridWalkState.h"
#include "../Grid.h"
template <typename T> class GridWalk {
public:
virtual GridWalkState<T> getDestination(Grid<T>& grid, const GridWalkState<T> start, const float distance_m) = 0;
};
#endif // GRIDWALK_H