17 lines
342 B
C#
17 lines
342 B
C#
|
namespace EntityStates;
|
||
|
|
||
|
public class BigCharacterMain : GenericCharacterMain
|
||
|
{
|
||
|
public override void ProcessJump()
|
||
|
{
|
||
|
if (base.characterMotor.jumpCount > base.characterBody.baseJumpCount)
|
||
|
{
|
||
|
base.ProcessJump();
|
||
|
}
|
||
|
else if (jumpInputReceived && base.characterMotor.isGrounded)
|
||
|
{
|
||
|
outer.SetNextState(new AnimatedJump());
|
||
|
}
|
||
|
}
|
||
|
}
|