Skip to content

Commit d6f1d03

Browse files
author
github-actions
committed
style: apply google format
1 parent eceb59c commit d6f1d03

File tree

18 files changed

+7
-33
lines changed

18 files changed

+7
-33
lines changed

examples/java/DonutIO/WorldStage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package DonutIO;
22

3+
import org.openpatch.scratch.KeyCode;
34
import org.openpatch.scratch.Stage;
45
import org.openpatch.scratch.Window;
56
import org.openpatch.scratch.extensions.math.Random;
67
import org.openpatch.scratch.extensions.math.Vector2;
7-
import org.openpatch.scratch.KeyCode;
88

99
public class WorldStage extends Stage {
1010

examples/java/RandomDot/RandomDot.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import org.openpatch.scratch.Sprite;
44
import org.openpatch.scratch.Stage;
5-
import org.openpatch.scratch.extensions.math.Random;
65

76
public class RandomDot extends Stage {
87
public RandomDot() {

examples/java/Sensing/Sensing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public Sensing() {
2727
public void run() {
2828
this.display("Move the hero with WASD and rotate him with R");
2929

30-
if(isKeyPressed(KeyCode.VK_0)) {
30+
if (isKeyPressed(KeyCode.VK_0)) {
3131
this.getCamera().changeZoom(-1);
3232
}
3333
if (isKeyPressed(KeyCode.VK_1)) {

examples/java/Tiled/Bamboo.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
public class Bamboo extends Enemy {
42

53
protected double speed = 2.5;

examples/java/Tiled/Enemy.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import org.openpatch.scratch.extensions.animation.*;
42

53
public class Enemy extends AnimatedSprite {

examples/java/Tiled/Fireball.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import org.openpatch.scratch.extensions.animation.*;
42

53
public class Fireball extends AnimatedSprite {

examples/java/Tiled/GameState.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import java.util.*;
42
import org.openpatch.scratch.extensions.fs.File;
53

examples/java/Tiled/I18n.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import java.text.MessageFormat;
42
import java.util.HashMap;
53

examples/java/Tiled/Item.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import org.openpatch.scratch.*;
42

53
public class Item extends Sprite {

examples/java/Tiled/Tiled.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import org.openpatch.scratch.Window;
42

53
public class Tiled extends Window {

0 commit comments

Comments
 (0)