Пример #1
0
        public Global()
        {
            // init NeedleGrid
            for (int i = 0; i < 200; i++)
            {
                NeedleGrid[i] = new NeedleInfo[200];
            }

            // init static variables
            Global.NBSCANNERTOBUILD   = 1;
            Global.NBDEFENDERTOBUILD  = 3;
            Global.NBHUNTERBOTTOBUILD = 3;
            Global.NBCONTAINERTOBUILD = 10;
            Global.NBNAVEXPTOBUILD    = 0;
            Global.NBNAVCOLTOBUILD    = 0;
            Global.NBUNAVEXPTOBUILD   = 0;
            Global.NBUNAVCOLTOBUILD   = 0;
            Global.NBBLOCKERTOBUILD   = 5;
            Global.NBGUARDTOBUILD     = Global.NBCONTAINERTOBUILD / 2;

            Global.NbNeedle = 0;

            Global.isPierreAIDead = false;
            HPList            = new ArrayList(30);
            Global.AllHPBuilt = false;
        }
Пример #2
0
        public Global()
        {
            // init NeedleGrid
            for (int i = 0; i < 200; i++)
                NeedleGrid[i] = new NeedleInfo[200];

            // init static variables
            Global.NBSCANNERTOBUILD = 1;
            Global.NBDEFENDERTOBUILD = 3;
            Global.NBHUNTERBOTTOBUILD = 3;
            Global.NBCONTAINERTOBUILD = 10;
            Global.NBNAVEXPTOBUILD = 0;
            Global.NBNAVCOLTOBUILD = 0;
            Global.NBUNAVEXPTOBUILD = 0;
            Global.NBUNAVCOLTOBUILD = 0;
            Global.NBBLOCKERTOBUILD = 5;
            Global.NBGUARDTOBUILD = Global.NBCONTAINERTOBUILD/2;

            Global.NbNeedle = 0;

            Global.isPierreAIDead = false;
            HPList = new ArrayList(30);
            Global.AllHPBuilt = false;
        }