public override void Update(GameTime gameTime, List <GameObject> objectList) { position.X += (int)velocity.X; position.Y -= (int)velocity.Y; Input(gameTime); Physics(objectList); //Update the quads left = new Rectangle(position.X - 5, position.Y + position.Height / 8, 5, position.Height - position.Height / 4); right = new Rectangle(position.X + position.Width, position.Y + position.Height / 8, 5, position.Height - position.Height / 4); bottom = new Rectangle(position.X + position.Width / 8, position.Y + position.Height + 7, position.Width - position.Width / 4, 5); top = new Rectangle(position.X + position.Width / 8, position.Y, position.Width - position.Width / 4, 5); if (shot != null) { shot.Update(gameTime, objectList); } currentAnimation.Update(gameTime); base.Update(gameTime, objectList); }