Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ConfusedMovementGenerator.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SKYFIRE_CONFUSEDGENERATOR_H
7#define SKYFIRE_CONFUSEDGENERATOR_H
8
9#include "MovementGenerator.h"
10#include "Timer.h"
11
12template<class T>
13class ConfusedMovementGenerator : public MovementGeneratorMedium< T, ConfusedMovementGenerator<T> >
14{
15public:
16 explicit ConfusedMovementGenerator() : i_nextMoveTime(0), i_x(0), i_y(0), i_z(0) { }
17
18 void DoInitialize(T*);
19 void DoFinalize(T*);
20 void DoReset(T*);
21 bool DoUpdate(T*, uint32);
22
24private:
26 float i_x, i_y, i_z;
27};
28#endif
std::uint32_t uint32
Definition Define.h:77
MovementGeneratorType
@ CONFUSED_MOTION_TYPE
MovementGeneratorType GetMovementGeneratorType()