moverfactory toStrings

This commit is contained in:
yugecin 2016-09-27 19:45:08 +02:00
parent cfb9b7d0a0
commit 6b81ce2d2c
7 changed files with 35 additions and 0 deletions

View File

@ -28,4 +28,9 @@ public class CircleMoverFactory implements MoverFactory {
return new CircleMover(start, end, dir);
}
@Override
public String toString() {
return "Circle";
}
}

View File

@ -28,4 +28,9 @@ public class HalfCircleMoverFactory implements MoverFactory {
return new HalfCircleMover(start, end, dir);
}
@Override
public String toString() {
return "Half circle";
}
}

View File

@ -28,4 +28,9 @@ public class HalfEllipseMoverFactory implements MoverFactory {
return new HalfEllipseMover(start, end, dir);
}
@Override
public String toString() {
return "Half ellipse";
}
}

View File

@ -30,4 +30,9 @@ public class HalfLowEllipseMoverFactory implements MoverFactory {
return m;
}
@Override
public String toString() {
return "Half low ellipse";
}
}

View File

@ -28,4 +28,9 @@ public class JumpMoverFactory implements MoverFactory {
return new JumpMover(start, end, dir);
}
@Override
public String toString() {
return "Jump";
}
}

View File

@ -28,4 +28,9 @@ public class LinearMoverFactory implements MoverFactory {
return new LinearMover(start, end, dir);
}
@Override
public String toString() {
return "Linear";
}
}

View File

@ -28,4 +28,9 @@ public class QuartCircleMoverFactory implements MoverFactory {
return new QuartCircleMover(start, end, dir);
}
@Override
public String toString() {
return "1/4th circle";
}
}