From d66d17619bb9056897c79df7ad9a9ca323ef8554 Mon Sep 17 00:00:00 2001 From: olshab Date: Mon, 27 Nov 2023 22:53:25 +0400 Subject: [PATCH] Move to AirBomber package --- src/{ => AirBomber}/BomberEntity.java | 2 ++ src/{ => AirBomber}/BomberForm.java | 2 ++ src/{ => AirBomber}/BomberRenderer.java | 2 ++ src/{ => AirBomber}/DirectionType.java | 2 ++ src/{ => AirBomber}/EngineRenderer.java | 2 ++ src/{ => AirBomber}/EnginesAmount.java | 2 ++ src/{ => AirBomber}/Program.java | 2 ++ src/{ => AirBomber}/Resources/ArrowDown.png | Bin src/{ => AirBomber}/Resources/ArrowLeft.png | Bin src/{ => AirBomber}/Resources/ArrowRight.png | Bin src/{ => AirBomber}/Resources/ArrowUp.png | Bin 11 files changed, 14 insertions(+) rename src/{ => AirBomber}/BomberEntity.java (97%) rename src/{ => AirBomber}/BomberForm.java (99%) rename src/{ => AirBomber}/BomberRenderer.java (99%) rename src/{ => AirBomber}/DirectionType.java (77%) rename src/{ => AirBomber}/EngineRenderer.java (98%) rename src/{ => AirBomber}/EnginesAmount.java (75%) rename src/{ => AirBomber}/Program.java (86%) rename src/{ => AirBomber}/Resources/ArrowDown.png (100%) rename src/{ => AirBomber}/Resources/ArrowLeft.png (100%) rename src/{ => AirBomber}/Resources/ArrowRight.png (100%) rename src/{ => AirBomber}/Resources/ArrowUp.png (100%) diff --git a/src/BomberEntity.java b/src/AirBomber/BomberEntity.java similarity index 97% rename from src/BomberEntity.java rename to src/AirBomber/BomberEntity.java index 8b7ece0..4c1fbcb 100644 --- a/src/BomberEntity.java +++ b/src/AirBomber/BomberEntity.java @@ -1,3 +1,5 @@ +package AirBomber; + import java.awt.Color; public class BomberEntity diff --git a/src/BomberForm.java b/src/AirBomber/BomberForm.java similarity index 99% rename from src/BomberForm.java rename to src/AirBomber/BomberForm.java index 8bd7cd9..0ceee76 100644 --- a/src/BomberForm.java +++ b/src/AirBomber/BomberForm.java @@ -1,3 +1,5 @@ +package AirBomber; + import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; diff --git a/src/BomberRenderer.java b/src/AirBomber/BomberRenderer.java similarity index 99% rename from src/BomberRenderer.java rename to src/AirBomber/BomberRenderer.java index 8a7ee8f..95bfa4b 100644 --- a/src/BomberRenderer.java +++ b/src/AirBomber/BomberRenderer.java @@ -1,3 +1,5 @@ +package AirBomber; + import java.awt.*; import java.util.Random; diff --git a/src/DirectionType.java b/src/AirBomber/DirectionType.java similarity index 77% rename from src/DirectionType.java rename to src/AirBomber/DirectionType.java index 7726557..f4391c0 100644 --- a/src/DirectionType.java +++ b/src/AirBomber/DirectionType.java @@ -1,3 +1,5 @@ +package AirBomber; + public enum DirectionType { Up, diff --git a/src/EngineRenderer.java b/src/AirBomber/EngineRenderer.java similarity index 98% rename from src/EngineRenderer.java rename to src/AirBomber/EngineRenderer.java index fd6c05c..16166d7 100644 --- a/src/EngineRenderer.java +++ b/src/AirBomber/EngineRenderer.java @@ -1,3 +1,5 @@ +package AirBomber; + import java.awt.*; public class EngineRenderer diff --git a/src/EnginesAmount.java b/src/AirBomber/EnginesAmount.java similarity index 75% rename from src/EnginesAmount.java rename to src/AirBomber/EnginesAmount.java index b142799..2e977b2 100644 --- a/src/EnginesAmount.java +++ b/src/AirBomber/EnginesAmount.java @@ -1,3 +1,5 @@ +package AirBomber; + public enum EnginesAmount { Two, diff --git a/src/Program.java b/src/AirBomber/Program.java similarity index 86% rename from src/Program.java rename to src/AirBomber/Program.java index 99d7e3f..9f3a993 100644 --- a/src/Program.java +++ b/src/AirBomber/Program.java @@ -1,3 +1,5 @@ +package AirBomber; + public class Program { public static void main(String[] args) throws Exception { diff --git a/src/Resources/ArrowDown.png b/src/AirBomber/Resources/ArrowDown.png similarity index 100% rename from src/Resources/ArrowDown.png rename to src/AirBomber/Resources/ArrowDown.png diff --git a/src/Resources/ArrowLeft.png b/src/AirBomber/Resources/ArrowLeft.png similarity index 100% rename from src/Resources/ArrowLeft.png rename to src/AirBomber/Resources/ArrowLeft.png diff --git a/src/Resources/ArrowRight.png b/src/AirBomber/Resources/ArrowRight.png similarity index 100% rename from src/Resources/ArrowRight.png rename to src/AirBomber/Resources/ArrowRight.png diff --git a/src/Resources/ArrowUp.png b/src/AirBomber/Resources/ArrowUp.png similarity index 100% rename from src/Resources/ArrowUp.png rename to src/AirBomber/Resources/ArrowUp.png