\r
/*Zac\r
*/\r
- animateMelee = new AnimateMelee(contentManager); \r
+ animateMelee = new AnimateMelee(contentManager, this); \r
\r
}\r
/// <summary>\r
public override void Draw(SpriteBatch spriteBatch)\r
{\r
Rectangle position = Game.State.Map.GetRectangleFromCoordinates(Motion.Position);\r
+ Point aPosition = Game.State.Map.GetPointFromCoordinates(Motion.Position);\r
+ Vector2 drawPosition = new Vector2(aPosition.X, aPosition.Y);\r
//spriteBatch.Draw(charModel, position, Color.White);\r
- animateMelee.AttackLeft(spriteBatch);\r
+ animateMelee.AttackLeft(spriteBatch, drawPosition);\r
\r
}\r
\r