diff --git a/Game1/Content/Crop.png b/Game1/Content/Crop.png index fdd02c5..8ed79ea 100644 Binary files a/Game1/Content/Crop.png and b/Game1/Content/Crop.png differ diff --git a/Game1/Content/Crop1.png b/Game1/Content/Crop1.png new file mode 100644 index 0000000..fdd02c5 Binary files /dev/null and b/Game1/Content/Crop1.png differ diff --git a/Game1/Content/Markers.png b/Game1/Content/Markers.png index 947c42c..99a6aad 100644 Binary files a/Game1/Content/Markers.png and b/Game1/Content/Markers.png differ diff --git a/Game1/Content/Markers_old.png b/Game1/Content/Markers_old.png new file mode 100644 index 0000000..947c42c Binary files /dev/null and b/Game1/Content/Markers_old.png differ diff --git a/Game1/Content/Mountain.png b/Game1/Content/Mountain.png index 1fb7207..a3d5d5b 100644 Binary files a/Game1/Content/Mountain.png and b/Game1/Content/Mountain.png differ diff --git a/Game1/Content/Mountain_1.png b/Game1/Content/Mountain_1.png new file mode 100644 index 0000000..1fb7207 Binary files /dev/null and b/Game1/Content/Mountain_1.png differ diff --git a/Game1/Content/Mountain_big.png b/Game1/Content/Mountain_big.png new file mode 100644 index 0000000..c214c50 Binary files /dev/null and b/Game1/Content/Mountain_big.png differ diff --git a/Game1/Content/Plantable.png b/Game1/Content/Plantable.png index bc52a51..74a981f 100644 Binary files a/Game1/Content/Plantable.png and b/Game1/Content/Plantable.png differ diff --git a/Game1/Content/Plantable1.png b/Game1/Content/Plantable1.png new file mode 100644 index 0000000..bc52a51 Binary files /dev/null and b/Game1/Content/Plantable1.png differ diff --git a/Game1/Content/Tractor.png b/Game1/Content/Tractor.png index d0b8c06..a239571 100644 Binary files a/Game1/Content/Tractor.png and b/Game1/Content/Tractor.png differ diff --git a/Game1/Content/Tractor_old.png b/Game1/Content/Tractor_old.png new file mode 100644 index 0000000..d0b8c06 Binary files /dev/null and b/Game1/Content/Tractor_old.png differ diff --git a/Game1/Content/house.png b/Game1/Content/house.png index 546c5fc..aa8998b 100644 Binary files a/Game1/Content/house.png and b/Game1/Content/house.png differ diff --git a/Game1/Content/house2.png b/Game1/Content/house2.png new file mode 100644 index 0000000..943e985 Binary files /dev/null and b/Game1/Content/house2.png differ diff --git a/Game1/Content/house_1.png b/Game1/Content/house_1.png new file mode 100644 index 0000000..546c5fc Binary files /dev/null and b/Game1/Content/house_1.png differ diff --git a/Game1/Content/tileunplantable.png b/Game1/Content/tileunplantable.png index 9455292..d983e4e 100644 Binary files a/Game1/Content/tileunplantable.png and b/Game1/Content/tileunplantable.png differ diff --git a/Game1/Content/tileunplantable_big.png b/Game1/Content/tileunplantable_big.png new file mode 100644 index 0000000..9455292 Binary files /dev/null and b/Game1/Content/tileunplantable_big.png differ diff --git a/Game1/Game1.cs b/Game1/Game1.cs index 1b9d60f..910a8e4 100644 --- a/Game1/Game1.cs +++ b/Game1/Game1.cs @@ -168,17 +168,17 @@ namespace Game1 DrawTiles(); - spriteBatch.Draw(markers, new Rectangle((int)tractorUnit.getTargetPosition().X / input.getSpacingTile() * (input.getTileSize() + input.getSpacing()) + input.getTileSize() / 4, (int)tractorUnit.getTargetPosition().Y / input.getSpacingTile() * (input.getTileSize() + input.getSpacing()) + input.getTileSize() / 4, input.getTileSize()/2, input.getTileSize()/2), Color.Green); + spriteBatch.Draw(markers, new Rectangle((int)tractorUnit.getTargetPosition().X / input.getSpacingTile() * (input.getTileSize() + input.getSpacing()) + input.getTileSize() / 4, (int)tractorUnit.getTargetPosition().Y / input.getSpacingTile() * (input.getTileSize() + input.getSpacing()) + input.getTileSize() / 4, input.getTileSize()/2, input.getTileSize()/2), Color.White); for (int i = 0; i < tractorUnit.getPath().getCount() + 1; i++) { - spriteBatch.Draw(markers, new Rectangle((int)tractorUnit.getPath().getByIndex(i).getCords().X * (input.getSpacingTile()) + input.getTileSize() / 4, (int)tractorUnit.getPath().getByIndex(i).getCords().Y * (input.getSpacingTile()) + input.getTileSize() / 4, input.getTileSize()/2, input.getTileSize()/2), Color.Green); + spriteBatch.Draw(markers, new Rectangle((int)tractorUnit.getPath().getByIndex(i).getCords().X * (input.getSpacingTile()) + input.getTileSize() / 4, (int)tractorUnit.getPath().getByIndex(i).getCords().Y * (input.getSpacingTile()) + input.getTileSize() / 4, input.getTileSize()/2, input.getTileSize()/2), Color.White); } spriteBatch.Draw(house, houseUnit.GetRectangle(), Time.GetTimeOfDay()); - spriteBatch.Draw(markers, new Rectangle((int)tractorUnit.getPath().getFinalDest().getCords().X * (input.getSpacingTile()) + Convert.ToInt32(input.getTileSize() / 6), (int)tractorUnit.getPath().getFinalDest().getCords().Y * (input.getSpacingTile()) + Convert.ToInt32(input.getTileSize() / 6), Convert.ToInt32(input.getTileSize() / 1.5), Convert.ToInt32(input.getTileSize() / 1.5)), Color.Red); //Draws the current target of the tractor + spriteBatch.Draw(markers, new Rectangle((int)tractorUnit.getPath().getFinalDest().getCords().X * (input.getSpacingTile()) + Convert.ToInt32(input.getTileSize() / 6), (int)tractorUnit.getPath().getFinalDest().getCords().Y * (input.getSpacingTile()) + Convert.ToInt32(input.getTileSize() / 6), Convert.ToInt32(input.getTileSize() / 1.5), Convert.ToInt32(input.getTileSize() / 1.5)), Color.White); //Draws the current target of the tractor spriteBatch.Draw(tractor, new Vector2((int)tractorUnit.getPos().X + input.getTileSize() / 2, (int)tractorUnit.getPos().Y + input.getTileSize() / 2), new Rectangle(0, 0, input.getTileSize(), input.getTileSize()), Time.GetTimeOfDay(), tractorUnit.getRotation(), new Vector2(input.getTileSize() / 2, input.getTileSize() / 2), 1.0f, SpriteEffects.None, 1);