/// <summary> /// Copy constructor. /// </summary> /// <param name="src">Initialize with the values in this object.</param> public Conveyor(Conveyor src) { Speed = src.Speed; Direction = src.Direction; Entry = src.Entry; }
/// <summary> /// Create a map square with a conveyor belt. No walls or laser. /// </summary> /// <param name="conveyor">The conveyor belt for this square.</param> public MapSquare(Conveyor conveyor) { Type = TYPE.CONVEYOR_BELT; Walls = 0; Conveyor = conveyor; Laser = null; Flag = 0; BuildSpriteBitmap(); }