forked from s425077/PotatoPlan
asd
This commit is contained in:
parent
8ab1d77d9c
commit
c89fee6b05
@ -273,7 +273,7 @@ class Farm
|
||||
|
||||
private int getHighestProductionRate(int x, int y)
|
||||
{
|
||||
int i = 1, holderIndex = 0;
|
||||
int i = 6, holderIndex = 0;
|
||||
float holder = 0, SampleHolder = 0;
|
||||
do
|
||||
{
|
||||
|
@ -44,7 +44,6 @@ class SmartTractor
|
||||
tileSize = newTileSize;
|
||||
Spacing = newSpacing;
|
||||
Rotation = rotation;
|
||||
|
||||
}
|
||||
|
||||
public void init(Vector2 nHousePos)
|
||||
@ -52,6 +51,7 @@ class SmartTractor
|
||||
ai.init();
|
||||
housePos = nHousePos;
|
||||
farm.init(new Vector2(100, (GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height / tileSize) - 125 / tileSize), housePos / (tileSize + Spacing));
|
||||
farm.UpdatePreferedCrops(Size);
|
||||
}
|
||||
|
||||
public void drawInventory(Input input, SpriteBatch spriteBatch, SpriteFont Bold, Cargo itemStorageDefined)
|
||||
|
Loading…
Reference in New Issue
Block a user