Sdk: Add WorldHandle
Former-commit-id: 70141670052728f93093922471835d0aa30acce3
This commit is contained in:
parent
a77ad42fcb
commit
64cd5e0cf3
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue