mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add pathfinding
This commit is contained in:
parent
88721344c1
commit
9bb50db297
4 changed files with 171 additions and 1 deletions
|
|
@ -18,6 +18,10 @@ class Camera;
|
|||
class Players;
|
||||
struct EngineSettings;
|
||||
|
||||
namespace voxels {
|
||||
class Pathfinding;
|
||||
}
|
||||
|
||||
/// @brief A level, contains chunks and objects
|
||||
class Level {
|
||||
std::unique_ptr<World> world;
|
||||
|
|
@ -30,6 +34,7 @@ public:
|
|||
std::unique_ptr<LevelEvents> events;
|
||||
std::unique_ptr<Entities> entities;
|
||||
std::unique_ptr<Players> players;
|
||||
std::unique_ptr<voxels::Pathfinding> pathfinding;
|
||||
std::vector<std::shared_ptr<Camera>> cameras; // move somewhere?
|
||||
|
||||
Level(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue