mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
Add ghost component (#1409)
will be used to migrate other Player functionality in a future PR. Tested that I can login still.
This commit is contained in:
13
dGame/dComponents/GhostComponent.h
Normal file
13
dGame/dComponents/GhostComponent.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __GHOSTCOMPONENT__H__
|
||||
#define __GHOSTCOMPONENT__H__
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
|
||||
class GhostComponent : public Component {
|
||||
public:
|
||||
static inline const eReplicaComponentType ComponentType = eReplicaComponentType::GHOST;
|
||||
GhostComponent(Entity* parent);
|
||||
};
|
||||
|
||||
#endif //!__GHOSTCOMPONENT__H__
|
Reference in New Issue
Block a user