path.hpp 307 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/**
 * A path that a unit can follow.
 * It is generated by the server, and given to one unit, and
 * that unit moves along this path at each tick()
 */

#ifndef __PATH_HPP__
# define __PATH_HPP__

10
#include <world/position.hpp>
11
#include <vector>
12

13
using Path = std::vector<Position>;
14 15

#endif // __PATH_HPP__