Commit b4c96fc9 authored by Philip Levis's avatar Philip Levis
Browse files

Fix deprecated warning.

parent 4d6c4418
......@@ -195,10 +195,10 @@ class ColorWall extends FlightPattern {
final BoundedParameter length = new BoundedParameter("LENGTH",1, 50, 1);
ColorWall(LX lx) {
super(lx);
addParameter(speed);
addParameter(angle);
addParameter(color);
addParameter(length);
addParameter("ColorWall_SPEED", speed);
addParameter("ColorWall_ANGLE", angle);
addParameter("ColorWall_COLOR", color);
addParameter("ColorWall_LENGTH", length);
addModulator(position).start();
}
......@@ -226,4 +226,4 @@ class ColorWall extends FlightPattern {
}
}
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment