move width/height from container to options class

This commit is contained in:
yugecin
2016-09-27 20:52:52 +02:00
parent 2e76d302cd
commit a39ac19bb0
5 changed files with 17 additions and 13 deletions

View File

@@ -17,7 +17,7 @@
*/
package yugecin.opsudance.spinners;
import itdelatrisu.opsu.Container;
import itdelatrisu.opsu.Options;
public class RektSpinner extends Spinner {
@@ -25,11 +25,11 @@ public class RektSpinner extends Spinner {
public void init() {
init(new double[][] {
{ 10, 10 },
{ Container.width / 2d, 10 },
{ Container.width - 10, 10 },
{ Container.width - 10, Container.height - 10 },
{ Container.width / 2d, Container.height - 10 },
{ 10, Container.height - 10 }
{ Options.width / 2d, 10 },
{ Options.width - 10, 10 },
{ Options.width - 10, Options.height - 10 },
{ Options.width / 2d, Options.height - 10 },
{ 10, Options.height - 10 }
});
}