OpenHacknet/WorldLocation.cs

28 lines
756 B
C#
Raw Normal View History

2015-10-27 23:04:18 -04:00
namespace Hacknet
2015-10-27 22:34:58 -04:00
{
public struct WorldLocation
{
public string country;
public string name;
public float educationLevel;
public float lifeLevel;
public float employerLevel;
public float affordabilityLevel;
public WorldLocation(string countryName, string locName, float education, float life, float employer,
float affordability)
{
country = countryName;
name = locName;
educationLevel = education;
lifeLevel = life;
employerLevel = employer;
affordabilityLevel = affordability;
}
public new string ToString()
{
return name + ", " + country;
}
}
}