2016-04-25 05:03:38 +00:00
|
|
|
#ifndef __URDE_CPATTERNED_HPP__
|
|
|
|
#define __URDE_CPATTERNED_HPP__
|
|
|
|
|
|
|
|
#include "CAi.hpp"
|
2016-08-15 20:43:04 +00:00
|
|
|
#include "Character/CBodyController.hpp"
|
2016-04-25 05:03:38 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CPatternedInfo;
|
|
|
|
|
|
|
|
class CPatterned : public CAi
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum class EUnknown
|
|
|
|
{
|
2016-06-21 04:15:30 +00:00
|
|
|
Zero = 0,
|
2016-05-18 03:57:43 +00:00
|
|
|
Three = 3,
|
2016-04-25 05:46:28 +00:00
|
|
|
TwentyThree = 23,
|
2016-06-21 04:15:30 +00:00
|
|
|
ThirtyFour = 34,
|
2016-04-25 05:46:28 +00:00
|
|
|
ThirtyNine
|
2016-04-25 05:03:38 +00:00
|
|
|
};
|
|
|
|
enum class EFlavorType
|
|
|
|
{
|
2016-05-18 03:57:43 +00:00
|
|
|
Zero = 0,
|
|
|
|
One = 1
|
2016-04-25 05:03:38 +00:00
|
|
|
};
|
|
|
|
enum class EMovementType
|
|
|
|
{
|
2016-04-25 05:46:28 +00:00
|
|
|
Ground = 0,
|
|
|
|
Flyer = 1
|
2016-04-25 05:03:38 +00:00
|
|
|
};
|
|
|
|
enum class EColliderType
|
|
|
|
{
|
2016-04-25 05:46:28 +00:00
|
|
|
One = 1
|
2016-04-25 05:03:38 +00:00
|
|
|
};
|
2016-12-19 18:27:58 +00:00
|
|
|
|
2016-04-25 05:03:38 +00:00
|
|
|
private:
|
|
|
|
public:
|
2016-12-19 18:27:58 +00:00
|
|
|
CPatterned(EUnknown unk, TUniqueId uid, const std::string& name, EFlavorType flavor, const CEntityInfo& info,
|
|
|
|
const zeus::CTransform& xf, CModelData&& mData, const CPatternedInfo& pinfo,
|
|
|
|
CPatterned::EMovementType movement, EColliderType collider, EBodyType body,
|
|
|
|
const CActorParameters& params, bool b1);
|
2016-04-25 05:03:38 +00:00
|
|
|
|
2016-12-19 18:27:58 +00:00
|
|
|
virtual void Death(const zeus::CVector3f&, CStateManager&) {}
|
|
|
|
virtual void KnockBack(const zeus::CVector3f&, CStateManager&) {}
|
2016-04-25 05:46:28 +00:00
|
|
|
};
|
2016-04-25 05:03:38 +00:00
|
|
|
}
|
|
|
|
|
2016-04-25 05:46:28 +00:00
|
|
|
#endif // CPATTERNED_HPP
|