Sdk: Add WorldHandle
Former-commit-id: 70141670052728f93093922471835d0aa30acce3
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
#define NDK_WORLD_HPP
|
#define NDK_WORLD_HPP
|
||||||
|
|
||||||
#include <Nazara/Core/Bitset.hpp>
|
#include <Nazara/Core/Bitset.hpp>
|
||||||
|
#include <Nazara/Core/HandledObject.hpp>
|
||||||
#include <NDK/Entity.hpp>
|
#include <NDK/Entity.hpp>
|
||||||
#include <NDK/EntityHandle.hpp>
|
|
||||||
#include <NDK/System.hpp>
|
#include <NDK/System.hpp>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@@ -18,7 +18,11 @@
|
|||||||
|
|
||||||
namespace Ndk
|
namespace Ndk
|
||||||
{
|
{
|
||||||
class NDK_API World
|
class World;
|
||||||
|
|
||||||
|
using WorldHandle = Nz::ObjectHandle<World>;
|
||||||
|
|
||||||
|
class NDK_API World : public Nz::HandledObject<World>
|
||||||
{
|
{
|
||||||
friend Entity;
|
friend Entity;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user