Try to get Chinthe to stop jumping upon reaching player
This commit is contained in:
@@ -12,6 +12,7 @@ public abstract partial class EnemyModelView : Node3D, IEnemyModelView
|
||||
|
||||
private readonly string _idleName = "Idle";
|
||||
private readonly string _walkingName = "Walking";
|
||||
private readonly string _stopWalkName = "Stop Walk";
|
||||
private readonly string _primaryAttackName = "Primary Attack";
|
||||
private readonly string _secondaryAttackName = "Secondary Attack";
|
||||
private readonly string _activateName = "Activate";
|
||||
@@ -50,6 +51,8 @@ public abstract partial class EnemyModelView : Node3D, IEnemyModelView
|
||||
|
||||
public virtual void PlayWalkAnimation() => _stateMachine.Travel(_walkingName);
|
||||
|
||||
public virtual void PlayStopWalkAnimation() => _stateMachine.Travel(_stopWalkName);
|
||||
|
||||
public virtual void PlayActivateAnimation() => _stateMachine.Travel(_activateName);
|
||||
|
||||
public virtual void PlayDeathAnimation() => throw new System.NotImplementedException();
|
||||
|
||||
Reference in New Issue
Block a user