Add CRipper files

This commit is contained in:
Phillip Stephens 2019-08-10 20:02:54 -07:00
parent edebe93e6d
commit a572100176
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#include "MP1/World/CRipper.hpp"
namespace urde::MP1 {
CRipper::CRipper(TUniqueId uid, std::string_view name, EFlavorType type, const CEntityInfo& info,
const zeus::CTransform& xf, CModelData&& mData, const CPatternedInfo& pInfo, const CActorParameters& actParms,
const CGrappleParameters& grappleParms)
: CPatterned(ECharacter::Ripper, uid, name, type, info, xf, std::move(mData), pInfo, EMovementType::Flyer,
EColliderType::One, EBodyType::Flyer, actParms, EKnockBackVariant::Medium) {}
}

View File

@ -0,0 +1,14 @@
#pragma once
#include "World/CPatterned.hpp"
#include "World/CGrappleParameters.hpp"
namespace urde::MP1 {
class CRipper : public CPatterned {
public:
DEFINE_PATTERNED(Ripper)
CRipper(TUniqueId uid, std::string_view name, EFlavorType type, const CEntityInfo& info, const zeus::CTransform& xf,
CModelData&& mData, const CPatternedInfo& pInfo, const CActorParameters& actParms,
const CGrappleParameters& grappleParms);
};
}