mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 14:07:20 +00:00
2abcb142ad
- Pass componentID to activity component constructor - use int componentid so -1 can denote no component
17 lines
406 B
C++
17 lines
406 B
C++
#ifndef __RACINGCOMPONENT__H__
|
|
#define __RACINGCOMPONENT__H__
|
|
|
|
#include "RacingControlComponent.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
class Entity;
|
|
|
|
class RacingComponent : public RacingControlComponent {
|
|
public:
|
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::RACING_CONTROL;
|
|
RacingComponent(Entity* parent, int32_t componentId);
|
|
};
|
|
|
|
|
|
#endif //!__RACINGCOMPONENT__H__
|