diff --git a/sixthsense-java/PointR.java b/sixthsense-java/PointR.java index 12814f8..a930e3f 100644 --- a/sixthsense-java/PointR.java +++ b/sixthsense-java/PointR.java @@ -10,7 +10,7 @@ public PointR(double X, double Y) { this.T = 0; } - public PointR(double X, double Y, double T) { + public PointR(double X, double Y, int T) { this.X = X; this.Y = Y; this.T = T; @@ -22,8 +22,7 @@ public PointR(PointR p) { T = p.T; } - @Override - public boolean equals(Object o) { + public boolean equals(PointR o) { if(this == o) { return true; }