mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
remove unused headers
comment about how controllable physics is the correct way to do this right now they have moving plat comps, and that is not correct
This commit is contained in:
parent
67ec10ac0d
commit
2946a612fb
@ -4,6 +4,4 @@
|
||||
class LupGenericInteract : public CppScripts::Script {
|
||||
public:
|
||||
void OnUse(Entity* self, Entity* user) override;
|
||||
private:
|
||||
const uint32_t frakjawChestId = 16486;
|
||||
};
|
||||
|
@ -1,12 +1,8 @@
|
||||
#include "WblRobotCitizen.h"
|
||||
#include "GameMessages.h"
|
||||
#include "MovingPlatformComponent.h"
|
||||
#include "dLogger.h"
|
||||
|
||||
|
||||
void WblRobotCitizen::OnStartup(Entity* self) {
|
||||
auto movingPlatformComponent = self->GetComponent<MovingPlatformComponent>();
|
||||
if (movingPlatformComponent) movingPlatformComponent->StartPathing();
|
||||
// TODO: make it move via controllable physics
|
||||
}
|
||||
|
||||
void WblRobotCitizen::OnUse(Entity* self, Entity* user) {
|
||||
@ -19,6 +15,5 @@ void WblRobotCitizen::OnUse(Entity* self, Entity* user) {
|
||||
}
|
||||
|
||||
void WblRobotCitizen::OnTimerDone(Entity* self, std::string timerName) {
|
||||
auto movingPlatformComponent = self->GetComponent<MovingPlatformComponent>();
|
||||
if (movingPlatformComponent) movingPlatformComponent->ContinuePathing();
|
||||
// TODO: make it move via controllable physics
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user