コード例 #1
0
ファイル: HexTiles.cs プロジェクト: adrianrocamora/jade
 private bool HasTypeAvailable(HexTileResources hexTileResource)
 {
     for (int i = 0; i < hexTileResources.Length; ++i)
     {
         if (hexTileResource == hexTileResources[i])
         {
             return(true);
         }
     }
     return(false);
 }
コード例 #2
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public CoalB()
 {
     c02Pollution        = 8.0f;// 0.57f;
     nuclearWaste        = 0.0f;
     power               = 7.0f;
     wellness            = 0.0f;
     price               = 41.0f;
     unlockEpoch         = 3.0f;
     tittle              = "Oil";
     description         = "This power plant is located in the state of Baja California Sur, Mexico. Its first unit was built in 1979.";
     space               = 1;
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #3
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public CoalC()
 {
     c02Pollution        = 1.33f;
     nuclearWaste        = 0.0f;
     power               = 8.0f;
     wellness            = 0.0f;
     price               = 28.0f;
     unlockEpoch         = 10.0f;
     tittle              = "Gas";
     description         = "'Merida 4' plant in the peninsula of Yucatan, Mexico, will begin operation in 2021.";
     space               = 1;
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #4
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public RenewC()
 {
     c02Pollution        = 0.01f;
     nuclearWaste        = 0.0f;
     power               = 13.0f;
     wellness            = 0.0f;
     price               = 50.0f;
     unlockEpoch         = 8.0f;
     tittle              = "Wind energy";
     description         = "The industrial conglomerate Grupo México is investing 250 million dollars in the construction of a wind farm, and a 60 kilometer electrical transmission line, in Nuevo León. Operation will begin in 2021.";
     space               = 3;
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #5
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public CoalA()
 {
     c02Pollution        = 24.0f; // 1.39f * 100.0f;
     nuclearWaste        = 0.0f;
     power               = 6.0f;
     wellness            = 0.0f;
     price               = 50.0f;
     unlockEpoch         = 0.0f;
     tittle              = "Coal";
     description         = "'Pearl power street station' was the first comercial central power plant in the U.S.It started generating energy in 1882.";
     space               = 1;
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #6
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public RenewB()
 {
     c02Pollution        = 0.01f;
     nuclearWaste        = 0.0f;
     power               = 10.0f;
     wellness            = 0.0f;
     price               = 60.0f;
     unlockEpoch         = 4.0f;
     tittle              = "Wind energy";
     description         = "It was the year 1981 when, as a result of the collaboration between NASA and the United States Department of Energy, the first wind farm in the world was launched: Towards 2000.";
     space               = 3;
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #7
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public RenewA()
 {
     c02Pollution        = 0.13f;
     nuclearWaste        = 0.0f;
     power               = 7.0f;
     wellness            = 20.0f;
     price               = 23.0f;
     unlockEpoch         = 0.0f;
     tittle              = "Hydroelectric";
     description         = "On September 30, 1882, the world's first hydroelectric power plant began operation on the Fox River in Appleton, Wisconsin.";
     space               = 3;
     hexTileRequirements = new HexTileResources[] { HexTileResources.WATER };
 }
コード例 #8
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public NuclearC()
 {
     c02Pollution        = 0.01f;
     nuclearWaste        = 0.0f;
     power               = 80.0f;
     wellness            = 0.0f;
     price               = 200.0f;
     unlockEpoch         = 11.0f;
     tittle              = "Nuclear Power C";
     description         = "'Kashiwazaki-Kariwa 6' is the first of the third-generation reactors with a ABWR system. It was build in 1993.";
     space               = 2;
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #9
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public NuclearB()
 {
     c02Pollution        = 0.01f;
     nuclearWaste        = 0.0f;
     power               = 70.0f;
     wellness            = 0.0f;
     price               = 250.0f;
     unlockEpoch         = 8.0f;
     tittle              = "Nuclear Power B";
     description         = "Built in 1976, Laguna Verde is the only nuclear power generation plant in Mexico. It is located on the coast of the Gulf of Mexico, and uses sea water to cool itself.";
     space               = 2;
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #10
0
ファイル: Building.cs プロジェクト: adrianrocamora/jade
 public NuclearA()
 {
     c02Pollution        = 0.01f;
     nuclearWaste        = 0.0f;
     power               = 60.0f;
     wellness            = 0.0f;
     price               = 272.0f;
     unlockEpoch         = 5.0f;
     tittle              = "Power Plant A";
     description         = "Obninsk was the world's first commercial nuclear power plant.\nIt was secretly built in the 1950s during the Cold War and for 4 years it was the only nuclear power plant that supplied power to the USSR.";
     hexTileRequirements = new HexTileResources[] { HexTileResources.LAND };
     space               = 2;
 }
コード例 #11
0
ファイル: HexTiles.cs プロジェクト: adrianrocamora/jade
 void Awake()
 {
     hexTileResources = new HexTileResources[] { HexTileResources.LAND };
 }
コード例 #12
0
ファイル: HexTiles.cs プロジェクト: adrianrocamora/jade
 void Awake()
 {
     hexTileResources = new HexTileResources[] { HexTileResources.LAND, HexTileResources.FOREST };
 }
コード例 #13
0
ファイル: HexTiles.cs プロジェクト: adrianrocamora/jade
 void Awake()
 {
     hexTileResources = new HexTileResources[] { HexTileResources.WATER };
 }