示例#1
0
 public AttackComponent(UnitBase unit) : base(unit)
 {
 }
示例#2
0
 public void RemoveUnit(UnitBase unit)
 {
     _Units.Remove(unit);
 }
示例#3
0
 public void AddUnit(UnitBase unit)
 {
     _Units.Add(unit);
 }
示例#4
0
 public void AddPlayer(UnitBase unit)
 {
     _Units.Add(unit);
     Player = unit;
     unit.Data.Screen.Camera.TrackingBody = unit.Collision.Body;
 }