karl 90d8b0479d Add basic pathfinding API
This should cover all requirements from the assignment, but a more specific use case will be added later.
2021-03-31 14:49:25 +02:00

15 lines
315 B
C++

#pragma once
#include "Gedeng/String.h"
#include "Gedeng/Vector.h"
namespace Gedeng {
class Node {
// Add the given node as a child of this node.
void add_child(const Node &node);
// Return a vector with all child nodes of this node.
Vector<Node &> get_children() const;
};
} // namespace Gedeng