Browse Source

added COllisionManager

server-collision
FatBoy-DOTC 10 months ago
parent
commit
e3641872d0
  1. 3
      src/engine/CollisionEngine/CollisionManager.java
  2. 2
      src/engine/CollisionEngine/Mesh.java
  3. 2
      src/engine/CollisionEngine/Triangle.java
  4. 4
      src/engine/devcmd/cmds/RegionCmd.java
  5. 4
      src/engine/gameManager/BuildingManager.java
  6. 2
      src/engine/net/client/handlers/MoveToPointHandler.java
  7. 2
      src/engine/objects/Building.java

3
src/engine/gameManager/CollisionManager.java → src/engine/CollisionEngine/CollisionManager.java

@ -1,6 +1,5 @@
package engine.gameManager; package engine.CollisionEngine;
import engine.collision.Mesh;
import engine.objects.Building; import engine.objects.Building;
import java.awt.*; import java.awt.*;

2
src/engine/collision/Mesh.java → src/engine/CollisionEngine/Mesh.java

@ -1,4 +1,4 @@
package engine.collision; package engine.CollisionEngine;
import java.awt.geom.Line2D; import java.awt.geom.Line2D;

2
src/engine/collision/Triangle.java → src/engine/CollisionEngine/Triangle.java

@ -1,4 +1,4 @@
package engine.collision; package engine.CollisionEngine;
import java.awt.geom.Line2D; import java.awt.geom.Line2D;

4
src/engine/devcmd/cmds/RegionCmd.java

@ -9,14 +9,12 @@
package engine.devcmd.cmds; package engine.devcmd.cmds;
import engine.Enum; import engine.CollisionEngine.Mesh;
import engine.collision.Mesh;
import engine.devcmd.AbstractDevCmd; import engine.devcmd.AbstractDevCmd;
import engine.gameManager.BuildingManager; import engine.gameManager.BuildingManager;
import engine.objects.*; import engine.objects.*;
import java.awt.geom.Point2D; import java.awt.geom.Point2D;
import java.lang.reflect.Field;
public class RegionCmd extends AbstractDevCmd { public class RegionCmd extends AbstractDevCmd {

4
src/engine/gameManager/BuildingManager.java

@ -14,8 +14,8 @@ import engine.Enum.BuildingGroup;
import engine.Enum.GameObjectType; import engine.Enum.GameObjectType;
import engine.InterestManagement.InterestManager; import engine.InterestManagement.InterestManager;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.collision.Mesh; import engine.CollisionEngine.Mesh;
import engine.collision.Triangle; import engine.CollisionEngine.Triangle;
import engine.job.JobContainer; import engine.job.JobContainer;
import engine.job.JobScheduler; import engine.job.JobScheduler;
import engine.jobs.UpgradeBuildingJob; import engine.jobs.UpgradeBuildingJob;

2
src/engine/net/client/handlers/MoveToPointHandler.java

@ -12,7 +12,7 @@ package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.ChatManager; import engine.gameManager.ChatManager;
import engine.gameManager.CollisionManager; import engine.CollisionEngine.CollisionManager;
import engine.gameManager.MovementManager; import engine.gameManager.MovementManager;
import engine.math.Vector3fImmutable; import engine.math.Vector3fImmutable;
import engine.net.client.ClientConnection; import engine.net.client.ClientConnection;

2
src/engine/objects/Building.java

@ -14,7 +14,7 @@ import engine.Enum.*;
import engine.InterestManagement.RealmMap; import engine.InterestManagement.RealmMap;
import engine.InterestManagement.Terrain; import engine.InterestManagement.Terrain;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.collision.Mesh; import engine.CollisionEngine.Mesh;
import engine.db.archive.CityRecord; import engine.db.archive.CityRecord;
import engine.db.archive.DataWarehouse; import engine.db.archive.DataWarehouse;
import engine.db.archive.MineRecord; import engine.db.archive.MineRecord;

Loading…
Cancel
Save