mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 16:55:27 +00:00
refactor(component): racing control and gate rush share the client's racing control base
LWOBaseRacingControlComponent (an activity component) is the base of the client's racing control (71) and gate rush control (103); DLU gets the same BaseRacingControlComponent. Nothing sent changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
15
dGame/dComponents/BaseRacingControlComponent.h
Normal file
15
dGame/dComponents/BaseRacingControlComponent.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef BASERACINGCONTROLCOMPONENT_H
|
||||
#define BASERACINGCONTROLCOMPONENT_H
|
||||
|
||||
#include "ActivityComponent.h"
|
||||
|
||||
/**
|
||||
* The base of the racing controls, as the client's LWOBaseRacingControlComponent: an activity component that racing
|
||||
* control (71) and gate rush control (103) are built on (its function table extends the activity component's).
|
||||
*/
|
||||
class BaseRacingControlComponent : public ActivityComponent {
|
||||
protected:
|
||||
BaseRacingControlComponent(Entity* parent, const int32_t componentID) : ActivityComponent(parent, componentID) {}
|
||||
};
|
||||
|
||||
#endif // BASERACINGCONTROLCOMPONENT_H
|
||||
Reference in New Issue
Block a user