You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
489 B
19 lines
489 B
3 years ago
|
using ET.EventType;
|
||
|
|
||
|
namespace ET
|
||
|
{
|
||
|
public class AttackRound_Update : AEvent<AttackRound>
|
||
|
{
|
||
|
protected override void Run(AttackRound args)
|
||
|
{
|
||
|
var battleMgr = args.ZoneScene.CurrentScene().GetComponent<BattleManagerComponent>();
|
||
|
if (battleMgr == null)
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
battleMgr.CreateActionSegmentByRoundInfo(args.TurnInfo);
|
||
|
battleMgr.StartOneTurn();
|
||
|
}
|
||
|
}
|
||
|
}
|