mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 00:35:27 +00:00
feat(entity): the client's platform boundary component (27)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
17
dGame/dComponents/PlatformBoundaryComponent.h
Normal file
17
dGame/dComponents/PlatformBoundaryComponent.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef PLATFORMBOUNDARYCOMPONENT_H
|
||||
#define PLATFORMBOUNDARYCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
|
||||
/**
|
||||
* A moving platform's boundary, as the client's LWOPlatformBoundaryComponent; the server sends nothing for it.
|
||||
*/
|
||||
class PlatformBoundaryComponent final : public Component {
|
||||
public:
|
||||
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::PLATFORM_BOUNDARY;
|
||||
|
||||
PlatformBoundaryComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {}
|
||||
};
|
||||
|
||||
#endif // PLATFORMBOUNDARYCOMPONENT_H
|
||||
Reference in New Issue
Block a user