Redone player collision by removing all refrences and usage of Bounds in PlayerCharacter.java. Added a new method PlayerCollisionPoint in Bounds.java mirroring PlayerBuildingCollisionPoint for other players instead of buildings. Added a new check in movement mirrioring the check for buildings but for players to ensure that PlayerCollisionPoint is called in each movement.
@ -174,7 +173,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -174,7 +173,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -208,9 +206,8 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -208,9 +206,8 @@ public class PlayerCharacter extends AbstractCharacter {
@ -274,58 +271,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -274,58 +271,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4619,9 +4564,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4619,9 +4564,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4936,7 +4878,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4936,7 +4878,6 @@ public class PlayerCharacter extends AbstractCharacter {
@Override
publicvoidupdateLocation(){
this.updateBounds();
if(!this.isMoving())
return;
@ -5418,6 +5359,8 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5418,6 +5359,8 @@ public class PlayerCharacter extends AbstractCharacter {