Skip to content

Commit

Permalink
Fixed most of the errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DeflatedPickle committed Mar 17, 2018
1 parent 1fb5092 commit 49a941c
Show file tree
Hide file tree
Showing 10 changed files with 150 additions and 88 deletions.
7 changes: 7 additions & 0 deletions src/goddrinksjava/Antioxidants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package goddrinksjava;

public class Antioxidants {
public Attribute toAttribute() {
return new Attribute();
}
}
4 changes: 4 additions & 0 deletions src/goddrinksjava/Attribute.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package goddrinksjava;

public class Attribute {
}
7 changes: 7 additions & 0 deletions src/goddrinksjava/Circumference.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package goddrinksjava;

public class Circumference {
public Attribute toAttribute() {
return new Attribute();
}
}
7 changes: 7 additions & 0 deletions src/goddrinksjava/Dimension.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package goddrinksjava;

public class Dimension {
public Attribute toAttribute() {
return new Attribute();
}
}
74 changes: 0 additions & 74 deletions src/goddrinksjava/Lovable.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,78 +4,4 @@ public class Lovable extends Thing {
public Lovable(String name, Integer i, Boolean b, Integer i2, Boolean b2) {

}

public void addAction(String name, Object o) {

}

public void canSee(Boolean value) {

}

public void addFeeling(String feeling) {

}

public void setSatisfaction(Integer level) {

}

public Integer toSatisfaction() {
return 0;
}

public Integer getFeelingIndex(String feeling) {
return 0;
}

public void requestExecution(World world) {

}

public void toggleGender() {

}

public void toggleRoleBDSM() {

}

public Integer getSenseIndex(String sense) {
return 0;
}

public void removeFeeling(String feeling) {

}

public void setOpinion(Object of, Boolean b) {

}

public Integer getOpinionIndex(String s) {
return 0;
}

public void setExecution(Object thing) {

}

// Not sure what to return
public Object toExecution() {
return "";
}

public void learnTopic(String topic) {

}

public void takeExamTopic(String topic) {

}

// Not sure what to return
public Object getAlgebraicExpression(String s) {
return "";
}
}
7 changes: 7 additions & 0 deletions src/goddrinksjava/Memory.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package goddrinksjava;

public class Memory {
public Boolean isErasable() {
return false;
}
}
7 changes: 7 additions & 0 deletions src/goddrinksjava/Nutrients.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package goddrinksjava;

public class Nutrients {
public Attribute toAttribute() {
return new Attribute();
}
}
1 change: 1 addition & 0 deletions src/goddrinksjava/SineWave.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package goddrinksjava;

public interface SineWave {
Tangent getTangent(Integer source);
}
4 changes: 4 additions & 0 deletions src/goddrinksjava/Tangent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package goddrinksjava;

public class Tangent {
}
120 changes: 106 additions & 14 deletions src/goddrinksjava/Thing.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
package goddrinksjava;

public class Thing implements Circle, PointSet, SineWave, Sequence, Fruit {
public void addAttribute() {
public class Thing implements Circle, PointSet, SineWave, Sequence, Fruit, TabbyCat {
private Memory memory;

public Thing() {
memory = new Memory();
}

public void addAttribute(Attribute attribute) {

}

// Not sure what to return
public Object getXPosition() {
return "";
public Integer getXPosition() {
return 0;
}

// Not sure what to return
Expand Down Expand Up @@ -46,8 +52,8 @@ public void lookFor(Thing thing, World world) {
}

// Not sure what to return
public Object getMemory() {
return "";
public Memory getMemory() {
return memory;
}

public void escape(String... things) {
Expand All @@ -57,8 +63,8 @@ public void escape(String... things) {
/* ----- Circle ----- */

// Not sure what to return
public Object getCircumference() {
return "";
public Circumference getCircumference() {
return new Circumference();
}

public void resetCircumference() {
Expand All @@ -68,8 +74,8 @@ public void resetCircumference() {
/* ----- PointSet ----- */

// Not sure what to return
public Object getDimensions() {
return "";
public Dimension getDimensions() {
return new Dimension();
}

public void resetDimentions() {
Expand All @@ -78,6 +84,10 @@ public void resetDimentions() {

/* ----- SineWave ----- */

public Tangent getTangent(Integer source) {
return new Tangent();
}

/* ----- Sequence ----- */

public void setLimit(Integer limit) {
Expand All @@ -87,20 +97,102 @@ public void setLimit(Integer limit) {
/* ----- Fruit ----- */

// Not sure what to return
public Object getNutrients() {
return "";
public Nutrients getNutrients() {
return new Nutrients();
}

public void resetNutrients() {

}

// Not sure what to return
public Object getAntioxidants() {
return "";
public Nutrients getAntioxidants() {
return new Nutrients();
}

public void resetAntioxidants() {

}

/* ----- TabbyCat ----- */

public void purr() {

}

/* ----- Lovable ----- */

public void addAction(String name, Object o) {

}

public void canSee(Boolean value) {

}

public void addFeeling(String feeling) {

}

public void setSatisfaction(Integer level) {

}

public Integer toSatisfaction() {
return 0;
}

public Integer getFeelingIndex(String feeling) {
return 0;
}

public void requestExecution(World world) {

}

public void toggleGender() {

}

public void toggleRoleBDSM() {

}

public Integer getSenseIndex(String sense) {
return 0;
}

public void removeFeeling(String feeling) {

}

public void setOpinion(Object of, Boolean b) {

}

public Integer getOpinionIndex(String s) {
return 0;
}

public void setExecution(Object thing) {

}

// Not sure what to return
public Object toExecution() {
return "";
}

public void learnTopic(String topic) {

}

public void takeExamTopic(String topic) {

}

// Not sure what to return
public Object getAlgebraicExpression(String s) {
return "";
}
}

0 comments on commit 49a941c

Please sign in to comment.