mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-28 13:12:56 -04:00
Added serverGame library
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
//========================================================================
|
||||
//
|
||||
// MoveSimController.h
|
||||
//
|
||||
// copyright 2003 Sony Online Entertainment
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#ifndef INCLUDED_MoveSimController_H
|
||||
#define INCLUDED_MoveSimController_H
|
||||
|
||||
#include "serverGame/CreatureController.h"
|
||||
|
||||
class Vector;
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
class MoveSimController : public CreatureController
|
||||
{
|
||||
public:
|
||||
|
||||
MoveSimController (CreatureObject * newOwner, const Vector & centerPoint, float roamRadius);
|
||||
virtual float realAlter(real time);
|
||||
|
||||
private:
|
||||
|
||||
MoveSimController (const MoveSimController& rhs);
|
||||
MoveSimController & operator= (const MoveSimController & rhs);
|
||||
|
||||
void reverse (float towardsCenterFactor);
|
||||
|
||||
Vector m_centerPoint;
|
||||
float m_roamRadius;
|
||||
Vector m_lastPoint;
|
||||
float m_lastUnstuckTimer;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
#endif
|
||||
Reference in New Issue
Block a user