mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
fahhh
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Humanoid/Balancing.h"
|
||||
#include "Util/Name.h"
|
||||
|
||||
namespace RBX {
|
||||
namespace HUMAN {
|
||||
|
||||
// Flying occurs when there's no ground below you. You have the ability
|
||||
// to turn around the y-axis, but not much else.
|
||||
extern const char* const sRagdoll;
|
||||
|
||||
class Ragdoll : public Named<HumanoidState, sRagdoll>
|
||||
{
|
||||
private:
|
||||
typedef Named<HumanoidState, sRagdoll> Super;
|
||||
/*override*/ StateType getStateType() const {return RAGDOLL;}
|
||||
/*override*/ void onStepImpl();
|
||||
/*override*/ void onComputeForceImpl() {}
|
||||
/*override*/ bool enableAutoJump() const { return false; }
|
||||
public:
|
||||
Ragdoll(Humanoid* humanoid, StateType priorState);
|
||||
~Ragdoll();
|
||||
};
|
||||
|
||||
} // namespace HUMAN
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user