Fixed soldier hitbox not following him correctly

This commit is contained in:
Simon Holmberg
2012-09-27 22:05:26 +02:00
parent fecb2edcf8
commit 12cd5447c8
2 changed files with 2 additions and 2 deletions
@@ -21,7 +21,7 @@ namespace DepthsBelow.Component
this.Height = height;
this.Rectangle = new Rectangle(0, 0, width, height);
}
public void Update(GameTime gameTime)
public override void Update(GameTime gameTime)
{
PixelTransform pt = this.Parent.GetComponent<PixelTransform>();
this.Rectangle.X = (int)pt.X;
@@ -17,7 +17,7 @@ namespace DepthsBelow.Component
public virtual void Update(GameTime gameTime)
{
}
}
}