Browse Source

Unfinished.. part 1 completed.

Elliott Stansbury 6 years ago
parent
commit
af1a145e56
39 changed files with 225 additions and 0 deletions
  1. BIN
      .DS_Store
  2. BIN
      src/.DS_Store
  3. BIN
      src/main/.DS_Store
  4. BIN
      src/main/java/.DS_Store
  5. BIN
      src/main/java/com/.DS_Store
  6. BIN
      src/main/java/com/zipcodewilmington/.DS_Store
  7. BIN
      src/main/java/com/zipcodewilmington/froilansfarm/.DS_Store
  8. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Aircraft.java
  9. 9
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Botanist.java
  10. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Chicken.java
  11. 20
    0
      src/main/java/com/zipcodewilmington/froilansfarm/ChickenCoop.java
  12. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Corn.java
  13. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/CornStalk.java
  14. 21
    0
      src/main/java/com/zipcodewilmington/froilansfarm/CropRow.java
  15. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Crops.java
  16. 6
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Driver.java
  17. 6
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Eater.java
  18. 11
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Edible.java
  19. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/EdibleEgg.java
  20. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Farm.java
  21. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/FarmHouse.java
  22. 23
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Farmer.java
  23. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Freelan.java
  24. 20
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Fridge.java
  25. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Froilan.java
  26. 7
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Froilanda.java
  27. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Horse.java
  28. 6
    0
      src/main/java/com/zipcodewilmington/froilansfarm/NoiseMaker.java
  29. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Person.java
  30. 7
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Produce.java
  31. 5
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Rideable.java
  32. 8
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Rider.java
  33. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Stable.java
  34. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Tomato.java
  35. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/TomatoPlant.java
  36. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Tractor.java
  37. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Vehicle.java
  38. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/Wheat.java
  39. 4
    0
      src/main/java/com/zipcodewilmington/froilansfarm/WheatPlant.java

BIN
.DS_Store View File


BIN
src/.DS_Store View File


BIN
src/main/.DS_Store View File


BIN
src/main/java/.DS_Store View File


BIN
src/main/java/com/.DS_Store View File


BIN
src/main/java/com/zipcodewilmington/.DS_Store View File


BIN
src/main/java/com/zipcodewilmington/froilansfarm/.DS_Store View File


+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Aircraft.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Aircraft {
4
+}

+ 9
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Botanist.java View File

@@ -0,0 +1,9 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface Botanist {
4
+
5
+     void plant();
6
+
7
+     void harvest();
8
+
9
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Chicken.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Chicken {
4
+}

+ 20
- 0
src/main/java/com/zipcodewilmington/froilansfarm/ChickenCoop.java View File

@@ -0,0 +1,20 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+import java.util.ArrayList;
4
+
5
+public class ChickenCoop {
6
+
7
+    ArrayList<Chicken> coop = new ArrayList<Chicken>();
8
+
9
+    public int getChickenCount(){
10
+        return coop.size();
11
+    }
12
+
13
+    public void addChicken(int numberOfChickens){
14
+
15
+    }
16
+
17
+    public void removeChicken(int numberOfChickens){
18
+
19
+    }
20
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Corn.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Corn {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/CornStalk.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class CornStalk {
4
+}

+ 21
- 0
src/main/java/com/zipcodewilmington/froilansfarm/CropRow.java View File

@@ -0,0 +1,21 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+import java.util.ArrayList;
4
+
5
+public class CropRow {
6
+
7
+    ArrayList<CropRow> cropRows = new ArrayList<CropRow>();
8
+
9
+    public int getNumCrops(){
10
+        return cropRows.size();
11
+    }
12
+
13
+
14
+    public void addCrop(int item){
15
+
16
+    }
17
+
18
+    public void removeCrop(int item){
19
+
20
+    }
21
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Crops.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+abstract class Crops {
4
+}

+ 6
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Driver.java View File

@@ -0,0 +1,6 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface Driver {
4
+
5
+    void operate(Vehicle vehicle);
6
+}

+ 6
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Eater.java View File

@@ -0,0 +1,6 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface Eater {
4
+
5
+    void eat(Edible edible);
6
+}

+ 11
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Edible.java View File

@@ -0,0 +1,11 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface Edible {
4
+
5
+
6
+    void giveNutrituion(int item);
7
+
8
+
9
+
10
+
11
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/EdibleEgg.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class EdibleEgg {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Farm.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Farm {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/FarmHouse.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class FarmHouse {
4
+}

+ 23
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Farmer.java View File

@@ -0,0 +1,23 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+abstract class Farmer extends Person implements NoiseMaker, Eater, Rider, Botanist {
4
+
5
+
6
+    public void harvest() {
7
+
8
+    }
9
+
10
+    public void plant() {
11
+
12
+    }
13
+
14
+    public void eat(Edible edible) {
15
+
16
+    }
17
+
18
+    public void dismount() {
19
+
20
+    }
21
+
22
+
23
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Freelan.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Freelan {
4
+}

+ 20
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Fridge.java View File

@@ -0,0 +1,20 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+
4
+import java.util.ArrayList;
5
+
6
+public class Fridge{
7
+    ArrayList<EdibleEgg> eggs = new ArrayList<EdibleEgg>();
8
+    ArrayList<Corn> corn = new ArrayList<Corn>();
9
+    ArrayList<Wheat> wheat = new ArrayList<Wheat>();
10
+    ArrayList<Tomato> tomatoes = new ArrayList<Tomato>();
11
+
12
+    public void delete(Edible numberOfItems){
13
+
14
+    }
15
+
16
+    public void add(Edible numberOfItems){
17
+
18
+
19
+    }
20
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Froilan.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Froilan {
4
+}

+ 7
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Froilanda.java View File

@@ -0,0 +1,7 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+abstract class Froilanda extends Farmer {
4
+
5
+
6
+
7
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Horse.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Horse {
4
+}

+ 6
- 0
src/main/java/com/zipcodewilmington/froilansfarm/NoiseMaker.java View File

@@ -0,0 +1,6 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface NoiseMaker {
4
+
5
+    void makeNoise(String string);
6
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Person.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+abstract class Person {
4
+}

+ 7
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Produce.java View File

@@ -0,0 +1,7 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface Produce {
4
+
5
+    void yield(Edible edible);
6
+
7
+}

+ 5
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Rideable.java View File

@@ -0,0 +1,5 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface Rideable {
4
+    void start();
5
+}

+ 8
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Rider.java View File

@@ -0,0 +1,8 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public interface Rider {
4
+
5
+    void mount();
6
+    void dismount();
7
+
8
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Stable.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Stable {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Tomato.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Tomato {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/TomatoPlant.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class TomatoPlant {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Tractor.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Tractor {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Vehicle.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+abstract class Vehicle {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Wheat.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class Wheat {
4
+}

+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/WheatPlant.java View File

@@ -0,0 +1,4 @@
1
+package com.zipcodewilmington.froilansfarm;
2
+
3
+public class WheatPlant {
4
+}