true atomic EnttWorld
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <Nazara/Core/Time.hpp>
|
||||
#include <entt/entity/registry.hpp>
|
||||
#include <blitz/common/Types.h>
|
||||
|
||||
namespace blitz {
|
||||
namespace server {
|
||||
@@ -10,12 +11,12 @@ class Server;
|
||||
|
||||
class DisconectSystem {
|
||||
public:
|
||||
DisconectSystem(entt::registry& a_Registry, Server& a_Server);
|
||||
DisconectSystem(entt::registry&, EnttWorld& a_World, Server& a_Server);
|
||||
|
||||
void Update(Nz::Time elapsedTime);
|
||||
|
||||
private:
|
||||
entt::registry& m_Registry;
|
||||
EnttWorld& m_World;
|
||||
Server& m_Server;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user