Преглед на файлове

Unfinished.. part 1 completed.

Elliott Stansbury преди 6 години
родител
ревизия
af1a145e56
променени са 39 файла, в които са добавени 225 реда и са изтрити 0 реда
  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 Целия файл


BIN
src/.DS_Store Целия файл


BIN
src/main/.DS_Store Целия файл


BIN
src/main/java/.DS_Store Целия файл


BIN
src/main/java/com/.DS_Store Целия файл


BIN
src/main/java/com/zipcodewilmington/.DS_Store Целия файл


BIN
src/main/java/com/zipcodewilmington/froilansfarm/.DS_Store Целия файл


+ 4
- 0
src/main/java/com/zipcodewilmington/froilansfarm/Aircraft.java Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

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