mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-27 07:47:59 +01:00
28 lines
464 B
C#
28 lines
464 B
C#
using Fie.Object;
|
|
using System;
|
|
|
|
namespace Fie.Ponies
|
|
{
|
|
public class FieStateMachinePoniesBaseAttack : FieStateMachineGameCharacterBase
|
|
{
|
|
private bool _isEnd;
|
|
|
|
private Type _nextState;
|
|
|
|
public override void updateState<T>(ref T gameCharacter)
|
|
{
|
|
_nextState = gameCharacter.getDefaultAttackState();
|
|
_isEnd = true;
|
|
}
|
|
|
|
public override bool isEnd()
|
|
{
|
|
return _isEnd;
|
|
}
|
|
|
|
public override Type getNextState()
|
|
{
|
|
return _nextState;
|
|
}
|
|
}
|
|
}
|