25 lines
654 B
C#
25 lines
654 B
C#
using ET.EventType;
|
|
using ET;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ET
|
|
{
|
|
public class PlayAnimation_AttackEvent : AEvent_Sync<PlayAnimation_Attack>
|
|
{
|
|
public override void Run(PlayAnimation_Attack args)
|
|
{
|
|
Unit unit = args.unit;
|
|
AnimancerHelper.GetAnimancers(args.zoneScene,unit).PlayAtk();
|
|
}
|
|
}
|
|
public class PlayAnimation_HurtEvent : AEvent_Sync<PlayAnimation_Hurt>
|
|
{
|
|
public override void Run(PlayAnimation_Hurt args)
|
|
{
|
|
Unit unit = args.unit;
|
|
AnimancerHelper.GetAnimancers(args.zoneScene,unit).PlayHurt();
|
|
}
|
|
}
|
|
}
|