moverfactory toStrings
This commit is contained in:
parent
cfb9b7d0a0
commit
6b81ce2d2c
|
@ -28,4 +28,9 @@ public class CircleMoverFactory implements MoverFactory {
|
|||
return new CircleMover(start, end, dir);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Circle";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -28,4 +28,9 @@ public class HalfCircleMoverFactory implements MoverFactory {
|
|||
return new HalfCircleMover(start, end, dir);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Half circle";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -28,4 +28,9 @@ public class HalfEllipseMoverFactory implements MoverFactory {
|
|||
return new HalfEllipseMover(start, end, dir);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Half ellipse";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -30,4 +30,9 @@ public class HalfLowEllipseMoverFactory implements MoverFactory {
|
|||
return m;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Half low ellipse";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -28,4 +28,9 @@ public class JumpMoverFactory implements MoverFactory {
|
|||
return new JumpMover(start, end, dir);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Jump";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -28,4 +28,9 @@ public class LinearMoverFactory implements MoverFactory {
|
|||
return new LinearMover(start, end, dir);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Linear";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -28,4 +28,9 @@ public class QuartCircleMoverFactory implements MoverFactory {
|
|||
return new QuartCircleMover(start, end, dir);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "1/4th circle";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user