diff --git a/src/main/java/PingPong/Ball.java b/src/main/java/PingPong/Ball.java index 1e75d0c..6702635 100644 --- a/src/main/java/PingPong/Ball.java +++ b/src/main/java/PingPong/Ball.java @@ -30,4 +30,8 @@ Random random; yVelocity = randomYDirection; } + public void move(){ + x += xVelocity; + y += yVelocity; + } } diff --git a/target/classes/BattleShip/AIGridGUI$DirectionCompare.class b/target/classes/BattleShip/AIGridGUI$DirectionCompare.class new file mode 100644 index 0000000..6155fb4 Binary files /dev/null and b/target/classes/BattleShip/AIGridGUI$DirectionCompare.class differ diff --git a/target/classes/BattleShip/AIGridGUI$SetShipsListener.class b/target/classes/BattleShip/AIGridGUI$SetShipsListener.class new file mode 100644 index 0000000..5478518 Binary files /dev/null and b/target/classes/BattleShip/AIGridGUI$SetShipsListener.class differ diff --git a/target/classes/BattleShip/GridGUI.class b/target/classes/BattleShip/GridGUI.class new file mode 100644 index 0000000..9d2baff Binary files /dev/null and b/target/classes/BattleShip/GridGUI.class differ diff --git a/target/classes/Snake/Controller$1.class b/target/classes/Snake/Controller$1.class new file mode 100644 index 0000000..1fb068f Binary files /dev/null and b/target/classes/Snake/Controller$1.class differ diff --git a/target/classes/Snake/Controller$2.class b/target/classes/Snake/Controller$2.class new file mode 100644 index 0000000..0beba04 Binary files /dev/null and b/target/classes/Snake/Controller$2.class differ diff --git a/target/classes/Snake/Controller$3.class b/target/classes/Snake/Controller$3.class new file mode 100644 index 0000000..acc6571 Binary files /dev/null and b/target/classes/Snake/Controller$3.class differ diff --git a/target/classes/Snake/Controller$GameState.class b/target/classes/Snake/Controller$GameState.class new file mode 100644 index 0000000..7c0b6b7 Binary files /dev/null and b/target/classes/Snake/Controller$GameState.class differ diff --git a/target/classes/Snake/Controller$MoveAction.class b/target/classes/Snake/Controller$MoveAction.class new file mode 100644 index 0000000..824eb04 Binary files /dev/null and b/target/classes/Snake/Controller$MoveAction.class differ diff --git a/target/classes/Snake/Game.class b/target/classes/Snake/Game.class new file mode 100644 index 0000000..6d095ca Binary files /dev/null and b/target/classes/Snake/Game.class differ