void PlaceToolInputState::MoveUnitPlacementSprite( const Vec2f& position )
{
	if( mUnitPlacementSprite )
	{
		// Get the bounds of the animation.
		RectI bounds = mUnitPlacementSprite->GetClippingRectForCurrentAnimation();

		// Calculate an offset to center the sprite.
		Vec2f offset( -1.0f * bounds.CenterX(), -1.0f * bounds.CenterY() );

		// Move the Sprite to the position with an offset.
		mUnitPlacementSprite->Position = ( position + offset );
	}
}