mirror of
https://github.com/Alee14/OpenHacknet.git
synced 2025-01-22 09:12:44 -05:00
28 lines
No EOL
756 B
C#
28 lines
No EOL
756 B
C#
namespace Hacknet
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
} |