refractoring

This commit is contained in:
nora 2020-12-12 12:38:22 +01:00
parent 47ec2337a4
commit 6bc1f74016
9 changed files with 10 additions and 11 deletions

View file

@ -1,10 +1,10 @@
package core;
import core.math.Vector2D;
import objects.DebugPos;
import objects.ships.BattleShip;
import objects.GameObject;
import objects.ships.Submarine;
import objects.ships.Turret;
import objects.world.Grid;
import objects.world.Wall;

View file

@ -1,4 +1,4 @@
package core;
package core.math;
/**
* Extended Math functions for the game engine

View file

@ -1,4 +1,4 @@
package core;
package core.math;
/**

View file

@ -1,7 +1,7 @@
package objects;
import core.Master;
import core.Vector2D;
import core.math.Vector2D;
import java.awt.*;

View file

@ -1,11 +1,9 @@
package objects;
import core.Master;
import core.Vector2D;
import core.math.Vector2D;
import java.awt.*;
import java.util.function.Consumer;
import java.util.function.Function;
/**
* The GameObject class is the superclass of every GameObject that can be displayed on screen. It has the 2

View file

@ -1,7 +1,7 @@
package objects.ships;
import core.Master;
import core.Vector2D;
import core.math.Vector2D;
import objects.GameObject;
import java.awt.*;

View file

@ -1,7 +1,7 @@
package objects.ships;
import core.Master;
import core.Vector2D;
import core.math.Vector2D;
import objects.GameObject;
import java.awt.*;

View file

@ -1,8 +1,8 @@
package objects.ships;
import core.ExMath;
import core.math.ExMath;
import core.Master;
import core.Vector2D;
import core.math.Vector2D;
import objects.GameObject;
import java.awt.*;

View file

@ -1,5 +1,6 @@
package core;
import core.math.Vector2D;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;