forked from s425077/PotatoPlan
Squared ProductionRate
This commit is contained in:
parent
e2f903eb8c
commit
f39f27ba4e
@ -69,7 +69,7 @@ namespace Game1
|
||||
|
||||
//Generates the map with some random values
|
||||
inventory.initInventorySystem();
|
||||
input.init(graphics, new Vector2(16,16), 56, 10); //Generates the starting size
|
||||
input.init(graphics, new Vector2(16,16), 56, 1); //Generates the starting size
|
||||
houseUnit.init(input.getTileSize(), input.getSpacing()); //Generates the house position
|
||||
tractorUnit.init(houseUnit.GetRectangle(), input); //Generates the Tractor
|
||||
tractorUnit.updateSizing(input, 0, houseUnit.getVector(), Time); //Updates the first Size of the Tractor
|
||||
|
@ -249,6 +249,7 @@ class Crops
|
||||
}
|
||||
ProductionRate = ProductionRate / 10;
|
||||
}
|
||||
ProductionRate = (float)Math.Pow(ProductionRate, 2.5f);
|
||||
return ProductionRate;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user