public void setTarget(BaseUnit target) { this.target = target; isAttacking = true; }
protected void SetTarget(BaseUnit unit) { }
public void Initialize() { conMan.Initialize(ref VecUnits, map); BaseUnit.InitializeMap(map, conMan); Building.Initialize(ref VecUnits); }
private void MoveUnit(int NumberOfCurCMS) { BaseUnit movingUnit = FindInList(VecUnits, IntCommands[NumberOfCurCMS][1]); movingUnit.SetMoveDest(IntCommands[NumberOfCurCMS][2], IntCommands[NumberOfCurCMS][3]); }