Browse Source

update

main
fdai4616 2 years ago
parent
commit
eaa6d2669d
  1. 5
      .idea/hellsgamers.iml
  2. 16
      src/main/java/PingPong/GamePanel.java
  3. 0
      src/test_/java/AIGridGUITest.java
  4. BIN
      target/classes/classpath.index
  5. BIN
      target/hellsgamers-1.0-SNAPSHOT.jar
  6. 2
      target/maven-archiver/pom.properties
  7. 5
      target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
  8. 20
      target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  9. BIN
      target/test-classes/AIGridGUITest.class
  10. BIN
      target/test-classes/classpath.index

5
.idea/hellsgamers.iml

@ -6,9 +6,8 @@
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/test_" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/test_/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test_/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test_/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" /> <excludeFolder url="file://$MODULE_DIR$/target" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />

16
src/main/java/PingPong/GamePanel.java

@ -22,6 +22,22 @@ public class GamePanel extends JPanel implements Runnable {
Score score; Score score;
Image image; Image image;
Graphics graphics; Graphics graphics;
CollisionChecker collisionChecker;
Thread gameThread;
public GamePanel() {
newPeddle();
newBall();
score = new Score(FRAME_WIDTH, FRAME_HEIGHT);
collisionChecker = new CollisionChecker();
this.setFocusable(true);
this.addKeyListener(new AL());
this.setPreferredSize(SCREEN);
gameThread = new Thread(this);
gameThread.start();
}

0
src/test/java/AIGridGUITest.java → src/test_/java/AIGridGUITest.java

BIN
target/classes/classpath.index

BIN
target/hellsgamers-1.0-SNAPSHOT.jar

2
target/maven-archiver/pom.properties

@ -1,5 +1,5 @@
#Generated by Maven #Generated by Maven
#Tue Feb 07 11:52:01 CET 2023
#Wed Feb 08 20:10:52 CET 2023
groupId=Hellsgamers groupId=Hellsgamers
artifactId=hellsgamers artifactId=hellsgamers
version=1.0-SNAPSHOT version=1.0-SNAPSHOT

5
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst

@ -2,10 +2,12 @@ MenuPanel.class
PingPong\Score.class PingPong\Score.class
BattleShip\BSButton.class BattleShip\BSButton.class
Snake\Window.class Snake\Window.class
PingPong\GamePanel$AL.class
Snake\Controller$1.class Snake\Controller$1.class
MenuPanel$GameFrame.class MenuPanel$GameFrame.class
BattleShip\Ship.class BattleShip\Ship.class
PingPong\Ball.class PingPong\Ball.class
BattleShip\BShip$NewGameListener.class
Snake\TextView$AnchorType.class Snake\TextView$AnchorType.class
BattleShip\AIGridGUI$SetShipsListener.class BattleShip\AIGridGUI$SetShipsListener.class
MenuPanel$AL.class MenuPanel$AL.class
@ -22,8 +24,10 @@ Snake\SnakeView.class
Snake\AppleView.class Snake\AppleView.class
Snake\Controller$3.class Snake\Controller$3.class
Snake\TextView.class Snake\TextView.class
BattleShip\GridGUI$MyCellListener.class
BattleShip\BShip.class BattleShip\BShip.class
PingPong\GamePanel.class PingPong\GamePanel.class
PingPong\CollisionChecker.class
Snake\Controller$MoveAction.class Snake\Controller$MoveAction.class
Snake\Snake$1.class Snake\Snake$1.class
Snake\Apple.class Snake\Apple.class
@ -33,3 +37,4 @@ Snake\Drawable.class
Snake\Controller$2.class Snake\Controller$2.class
MenuFrame.class MenuFrame.class
Snake\GameView.class Snake\GameView.class
BattleShip\GridGUI.class

20
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

@ -1,3 +1,12 @@
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\BShip.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Main.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\BSButton.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\SnakeView.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Apple.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Game.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\Ship.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\GameFrame.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Window.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\MenuPanel.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\MenuPanel.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\AIGridGUI.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\AIGridGUI.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\AppleView.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\AppleView.java
@ -5,19 +14,12 @@ C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\Paddle.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\MenuFrame.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\MenuFrame.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\Direction.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\Direction.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Controller.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Controller.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\BShip.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\GamePanel.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\GamePanel.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Main.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\Score.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\Score.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Snake.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Snake.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\GameView.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\GameView.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\CollisionChecker.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Drawable.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Drawable.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\BSButton.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\SnakeView.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Apple.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Game.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\GridGUI.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\TextView.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\TextView.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\BattleShip\Ship.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\GameFrame.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\Snake\Window.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\Ball.java C:\Users\Laura\IdeaProjects\hellsgamers\src\main\java\PingPong\Ball.java

BIN
target/test-classes/AIGridGUITest.class

BIN
target/test-classes/classpath.index

Loading…
Cancel
Save