Added roads

Removed libGdx images
This commit is contained in:
Yair Morgenstern
2017-11-30 22:31:00 +02:00
parent eedbc59792
commit 996204e7f5
7 changed files with 12 additions and 0 deletions

View File

@ -67,5 +67,15 @@
"TechRequired":"Masonry",
"ImprovingTech":"Chemistry",
"ImprovingTechStats":{"Production":1}
},
{
"Name":"Road",
"TurnsToBuild":6,
"TechRequired":"The Wheel"
},
{
"Name":"Railroad",
"TurnsToBuild":12,
"TechRequired":"Railroad"
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@ -123,6 +123,8 @@ public class TileInfo
if(turnsToImprovement == 0)
{
if (improvementInProgress.startsWith("Remove")) terrainFeature = null;
else if(improvement.equals("Road")) roadStatus = RoadStatus.Road;
else if(improvement.equals("Railroad")) roadStatus = RoadStatus.Railroad;
else improvement = improvementInProgress;
improvementInProgress = null;