mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-30 08:57:59 +01:00
31 lines
571 B
C#
31 lines
571 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Fie.Object
|
||
|
{
|
||
|
public class FieStateMachineCommonIdle : FieStateMachineGameCharacterBase
|
||
|
{
|
||
|
public override void updateState<T>(ref T gameCharacter)
|
||
|
{
|
||
|
gameCharacter.animationManager.SetAnimation(0, isLoop: true);
|
||
|
}
|
||
|
|
||
|
public override bool isEnd()
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public override Type getNextState()
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public override List<Type> getAllowedStateList()
|
||
|
{
|
||
|
List<Type> list = new List<Type>();
|
||
|
list.Add(typeof(FieStateMachineAnyConsider));
|
||
|
return list;
|
||
|
}
|
||
|
}
|
||
|
}
|