17 lines
451 B
C#
17 lines
451 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PlayerManager : GroupManager
|
|
{
|
|
public override void AddSoldier(SoldierUnit pUnit, GroupManager pAgainstGroup)
|
|
{
|
|
pUnit.Group = GroupType.Player;
|
|
pUnit.AgainstGroup = pAgainstGroup;
|
|
|
|
WarUnitAttr tAttr = Utils.GetWarUnitAttrFromCard(pUnit.BType, pUnit.Level);
|
|
pUnit.InitAttr(tAttr);
|
|
|
|
AddSoldier(pUnit);
|
|
}
|
|
} |