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; }
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; }