using System;

namespace Icarus.Logic.Physics
{
	/// <summary>
	/// Summary description for CollisionBoxFloor.
	/// </summary>
	[Serializable]
	public class CollisionBoxFloor : CollisionBox
	{
		public CollisionBoxFloor()
		{
			this.Description = "CB-Floor";
            this.RectArray[0] = new RectangleFloor();
		}

        /// <summary>
        /// Sets the internal FloorRectangle's location
        /// </summary>
        public override void setSpecial()
        {
            this.RectArray[0].X = this.BoundingBox.X;
            this.RectArray[0].Y = this.BoundingBox.Y;
            this.RectArray[0].Width = this.BoundingBox.Width;
            this.RectArray[0].Height = this.BoundingBox.Height;
        }
	}
}
