TDME2  1.9.200
PathFindingCustomTest.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <tdme/tdme.h>
6 
8 
9 /**
10  * Path finding custom test interface
11  * @author Andreas Drewke
12  */
14 {
15  /**
16  * Destructor
17  */
19 
20  /**
21  * Initialize custom test for a sequence of isWalkable calls for the current path finding execution
22  */
23  virtual void initialize() = 0;
24 
25  /**
26  * Disposes custom test after a sequence of isWalkable calls for the last path finding execution
27  */
28  virtual void dispose() = 0;
29 
30  /**
31  * Is walkable user test
32  * @param pathFinding current path finding instance
33  * @param x x
34  * @param y y
35  * @param z z
36  * @return is walkable
37  */
38  virtual bool isWalkable(PathFinding* pathFinding, float x, float y, float z) = 0;
39 
40 };
Path finding class.
Definition: PathFinding.h:51
Path finding custom test interface.
virtual void initialize()=0
Initialize custom test for a sequence of isWalkable calls for the current path finding execution.
virtual void dispose()=0
Disposes custom test after a sequence of isWalkable calls for the last path finding execution.
virtual bool isWalkable(PathFinding *pathFinding, float x, float y, float z)=0
Is walkable user test.