1
0
forked from s425077/PotatoPlan
This commit is contained in:
BOTLester 2020-05-24 21:22:47 +02:00
parent c858261c89
commit fe04a5cd07
2 changed files with 3 additions and 3 deletions

View File

@ -72,8 +72,8 @@ class Farm
init(Size, housepos); init(Size, housepos);
RainPosition.X = r.Next(0, 1900); RainPosition.X = r.Next(0, 1900);
RainPosition.Y = r.Next(0, 1950); RainPosition.Y = r.Next(0, 1950);
RainfallMap = PerlinNoise.LoadImage("C:\\Users\\Joel\\source\\repos\\Oskars Repo\\Game1\\Content\\Rainfall.png"); //RainfallMap = PerlinNoise.LoadImage("C:\\Users\\Joel\\source\\repos\\Oskars Repo\\Game1\\Content\\Rainfall.png");
//RainfallMap = PerlinNoise.LoadImage("C:/Users/Oskar/source/repos/PotatoPlanFinal/Game1/Content/Rainfall.png"); RainfallMap = PerlinNoise.LoadImage("C:/Users/Oskar/source/repos/PotatoPlanFinal/Game1/Content/Rainfall.png");
} }
public Rectangle getRainPosition(int TileSize, int x, int y, Vector2 Size) public Rectangle getRainPosition(int TileSize, int x, int y, Vector2 Size)

View File

@ -39,7 +39,7 @@ namespace Game1.Sources.ML_Joel
{ {
InputArea modelInput = new InputArea InputArea modelInput = new InputArea
{ {
//Season = , //Season = crop.
//Area = crop.getSoilProperties().Area, //Area = crop.getSoilProperties().Area,
Rainfall = crop.getSoilProperties().Humidity, Rainfall = crop.getSoilProperties().Humidity,
}; };