Example #1
0
        public override void Reset()
        {
            buffHandler.Clear();

            frontSwingTimer = 0;
            durationTimer   = 0;

            PostDestroy       = null;
            PostBattleMessage = null;
            PostRenderMessage = null;

            // Register Generator method
            GenerateAttributeEffect = null;
            GenerateProjectile      = null;

            // Register logic method
            FindOwnForceSoldiers    = null;
            FindFriendlySoldiers    = null;
            FindOpponentSoldier     = null;
            FindOpponentSoldiers    = null;
            FindOpponentBuilding    = null;
            FindOpponentCrystal     = null;
            FindOpponentCrystalCar  = null;
            FindOpponentCrystalCars = null;
            FindOpponentDemolisher  = null;
            FindOpponentDemolishers = null;
            FindNeutralUnits        = null;
            FindNeutralUnit         = null;

            WithinCircleAreaPredicate    = null;
            WithinFrontRectAreaPredicate = null;
            WithinSectorAreaPredicate    = null;
        }
Example #2
0
 public void RegisterFindOpponentCrystalCars(FindOpponentCrystalCarsMethod method)
 {
     FindOpponentCrystalCars = method;
 }