protected void setStage(int stage) {
switch (stage) {
case 3: {
sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
10));
sequentialScript.add(new ToggleShooting(this, true, 1, 100));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(17 * Configuration.gameScale, 14 * Configuration.gameScale),
10));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
10));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(3 * Configuration.gameScale, 14 * Configuration.gameScale),
10));
sequentialScript.add(new Wait(this, 100));
break;
}
case 2: {
sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
10));
sequentialScript.add(new ToggleShooting(this, true, 1, 100));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(17 * Configuration.gameScale, 14 * Configuration.gameScale),
10));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
10));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(3 * Configuration.gameScale, 14 * Configuration.gameScale),
10));
sequentialScript.add(new Wait(this, 100));
break;
}
case 1: {
sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),
10));
sequentialScript.add(new ToggleShooting(this, true, 1, 100));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(17 * Configuration.gameScale, 14 * Configuration.gameScale),
10));
sequentialScript.add(new Wait(this, 100));
sequentialScript.add(new SmoothMoveTo(this, new Vector2(10 * Configuration.gameScale, 18 * Configuration.gameScale),