FiE-Game/Assets/Scripts/Fie/Ponies/FieStateMachinePoniesBaseAttack.cs

29 lines
464 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
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;
}
}
}