Пример #1
0
 public void setTarget(BaseUnit target)
 {
     this.target = target;
     isAttacking = true;
 }
Пример #2
0
 protected void SetTarget(BaseUnit unit)
 {
 }
Пример #3
0
 protected void SetTarget(BaseUnit unit)
 {
 }
Пример #4
0
 public void setTarget(BaseUnit target)
 {
     this.target = target;
     isAttacking = true;
 }
Пример #5
0
 public void Initialize()
 {
     conMan.Initialize(ref VecUnits, map);
     BaseUnit.InitializeMap(map, conMan);
     Building.Initialize(ref VecUnits);
 }
Пример #6
0
        private void MoveUnit(int NumberOfCurCMS)
        {
            BaseUnit movingUnit = FindInList(VecUnits, IntCommands[NumberOfCurCMS][1]);

            movingUnit.SetMoveDest(IntCommands[NumberOfCurCMS][2], IntCommands[NumberOfCurCMS][3]);
        }