Esempio n. 1
0
		public GlobalResources (Mpq stardatMpq, Mpq broodatMpq)
		{
			if (instance != null)
				throw new Exception ("There can only be one GlobalResources");

			this.stardatMpq = stardatMpq;
			this.broodatMpq = broodatMpq;

			starcraftResources = new Resources();
			broodwarResources = new Resources();

			instance = this;
		}
Esempio n. 2
0
        public GlobalResources(Mpq stardatMpq, Mpq broodatMpq)
        {
            if (instance != null)
            {
                throw new Exception("There can only be one GlobalResources");
            }

            this.stardatMpq = stardatMpq;
            this.broodatMpq = broodatMpq;

            starcraftResources = new Resources();
            broodwarResources  = new Resources();

            instance = this;
        }