예제 #1
0
파일: Status.cs 프로젝트: tkram01/see3po
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="floorPlan">An image of the floorplan to be constructed</param>
        /// <param name="scale">The scale of the image provided in pixels per foot</param>
        public Status(FloorPlan fp)
        {
            m_FloorPlan = fp;

            m_Moves = new List<FloorTile>();

            m_Images = null;

            m_Moves = new List<FloorTile>();

            m_Position = new Position(new Point(0, 0), 0);

            m_EndPoint = new Point(0, 0);
        }
예제 #2
0
파일: Status.cs 프로젝트: tkram01/see3po
        private Position m_Position; // The robot's current location and facing

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="floorPlan">An image of the floorplan to be constructed</param>
        /// <param name="scale">The scale of the image provided in pixels per foot</param>
        public Status(Image floorplan, double scale)
        {
            m_FloorPlan = new FloorPlan(floorplan, scale);

            m_Moves = new List<FloorTile>();

            m_Images = null;

            m_Moves = new List<FloorTile>();

            m_Position = new Position(new Point(0, 0), 0);

            m_EndPoint = new Point(0, 0);
        }