new textures
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 9.2 KiB |
BIN
Game1/Content/Crop_old.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 7.7 KiB |
BIN
Game1/Content/Mountain_old.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 8.0 KiB |
BIN
Game1/Content/Plantable2.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
Game1/Content/Plantable_new.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
Game1/Content/Plantable_old.png
Normal file
After Width: | Height: | Size: 776 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 20 KiB |
BIN
Game1/Content/house_old.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 7.5 KiB |
BIN
Game1/Content/tileunplantable_new1.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
Game1/Content/tileunplantable_old.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
@ -75,7 +75,7 @@ namespace Game1
|
|||||||
inventory.initInventorySystem();
|
inventory.initInventorySystem();
|
||||||
|
|
||||||
string path = directory + "Game1/Content/ML/Fertilizer_Prediction.csv";
|
string path = directory + "Game1/Content/ML/Fertilizer_Prediction.csv";
|
||||||
input.init(graphics, new Vector2(16,16), 56, 1); //Generates the starting size
|
input.init(graphics, new Vector2(16,16), 56, 0); //Generates the starting size
|
||||||
houseUnit.init(input.getTileSize(), input.getSpacing()); //Generates the house position
|
houseUnit.init(input.getTileSize(), input.getSpacing()); //Generates the house position
|
||||||
tractorUnit.init(houseUnit.GetRectangle(), input); //Generates the Tractor
|
tractorUnit.init(houseUnit.GetRectangle(), input); //Generates the Tractor
|
||||||
tractorUnit.updateSizing(input, 0, houseUnit.getVector(), Time); //Updates the first Size of the Tractor
|
tractorUnit.updateSizing(input, 0, houseUnit.getVector(), Time); //Updates the first Size of the Tractor
|
||||||
|
@ -47,7 +47,9 @@ class Crops
|
|||||||
|
|
||||||
public float getSpeedFactor(float tractorSpeed)
|
public float getSpeedFactor(float tractorSpeed)
|
||||||
{
|
{
|
||||||
return (1f * tractorSpeed) / getCostOnMovement();
|
if (getCostOnMovement() == 1)
|
||||||
|
return (1f * tractorSpeed);
|
||||||
|
return (1f * tractorSpeed) / (getCostOnMovement() / 5.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SoilProperties getSoilProperties()
|
public SoilProperties getSoilProperties()
|
||||||
|
BIN
Grass_new.png
Normal file
After Width: | Height: | Size: 4.1 KiB |