diff --git a/DepthsBelow/DepthsBelow/Component/Collision.cs b/DepthsBelow/DepthsBelow/Component/Collision.cs index 717d152..53b0149 100644 --- a/DepthsBelow/DepthsBelow/Component/Collision.cs +++ b/DepthsBelow/DepthsBelow/Component/Collision.cs @@ -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(); this.Rectangle.X = (int)pt.X; diff --git a/DepthsBelow/DepthsBelow/Component/Component.cs b/DepthsBelow/DepthsBelow/Component/Component.cs index 1b5b935..259494b 100644 --- a/DepthsBelow/DepthsBelow/Component/Component.cs +++ b/DepthsBelow/DepthsBelow/Component/Component.cs @@ -17,7 +17,7 @@ namespace DepthsBelow.Component public virtual void Update(GameTime gameTime) { - + } } }