mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-14 15:57:13 +00:00
18 lines
566 B
C++
18 lines
566 B
C++
#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
|