Grid map detaching: content edition.

This commit is contained in:
Pieter-Jan Briers
2018-06-10 01:03:49 +02:00
parent 9b251d70e2
commit 10999dc905
9 changed files with 19 additions and 25 deletions

View File

@@ -31,7 +31,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Melee
}
void IAfterAttack.Afterattack(IEntity user, LocalCoordinates clicklocation, IEntity attacked)
void IAfterAttack.Afterattack(IEntity user, GridLocalCoordinates clicklocation, IEntity attacked)
{
var location = user.GetComponent<TransformComponent>().LocalPosition;
var angle = new Angle(clicklocation.ToWorld().Position - location.ToWorld().Position);