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,48 @@
|
||||
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Humanoid/HumanoidState.h"
|
||||
|
||||
namespace RBX {
|
||||
|
||||
namespace HUMAN {
|
||||
|
||||
extern const char *const sSeated;
|
||||
|
||||
class Seated : public Named<HumanoidState, sSeated>
|
||||
{
|
||||
private:
|
||||
/*override*/ StateType getStateType() const {return SEATED;}
|
||||
|
||||
/*override*/ bool armsShouldCollide() const {return false;}
|
||||
/*override*/ bool legsShouldCollide() const {return false;}
|
||||
/*override*/ void onComputeForceImpl() {}
|
||||
/*override*/ bool enableAutoJump() const { return false; }
|
||||
|
||||
public:
|
||||
Seated(Humanoid* humanoid, StateType priorState);
|
||||
~Seated();
|
||||
};
|
||||
|
||||
|
||||
extern const char* const sPlatformStanding;
|
||||
|
||||
class PlatformStanding : public Named<HumanoidState, sPlatformStanding>
|
||||
{
|
||||
private:
|
||||
/*override*/ StateType getStateType() const {return PLATFORM_STANDING;}
|
||||
|
||||
/*override*/ bool armsShouldCollide() const {return false;}
|
||||
/*override*/ bool legsShouldCollide() const {return false;}
|
||||
/*override*/ void onComputeForceImpl() {}
|
||||
/*override*/ bool enableAutoJump() const { return false; }
|
||||
|
||||
public:
|
||||
PlatformStanding(Humanoid* humanoid, StateType priorState);
|
||||
~PlatformStanding();
|
||||
};
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user