34 lines
659 B
C#
34 lines
659 B
C#
![]() |
using System.Collections.Generic;
|
|||
|
namespace G
|
|||
|
{
|
|||
|
|
|||
|
public class Stat_ShacklesAction : Stat_IdleAction
|
|||
|
{
|
|||
|
public Stat_ShacklesAction(Stat_StateManager statMgr)
|
|||
|
: base(statMgr)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public override bool Enter(Dictionary<string, object> param, bool clearDelegates = false)
|
|||
|
{
|
|||
|
base.Enter(param, clearDelegates);
|
|||
|
//string animName = m_char.GetAnimName("idle");
|
|||
|
//if (m_char.PlayAnimationByName(animName) == -1f)
|
|||
|
//{
|
|||
|
// return false;
|
|||
|
//}
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public override bool CanTransition(enStat stat)
|
|||
|
{
|
|||
|
bool result = false;
|
|||
|
if (stat == enStat.STAT_ACTION_DEAD)
|
|||
|
{
|
|||
|
result = true;
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|