CreateWorld() private method

Initializes the mapping using a target number pixels.
private CreateWorld ( int xPixels, int yPixels ) : Rectangle
xPixels int The width of the world in pixels.
yPixels int The height of the world in pixels.
return System.Drawing.Rectangle
        /// <summary>
        ///  Tell the game view to create a new world and reset the rendering
        ///  surfaces.
        /// </summary>
        /// <param name="xPixels">The number of world pixels</param>
        /// <param name="yPixels">The number of world pixels</param>
        /// <returns></returns>
        public RECT CreateWorld(int xPixels, int yPixels)
        {
            wld = new World();
            actualsize = wld.CreateWorld(xPixels, yPixels);

            ResetTerrarium();
            viewchanged = true;
            return actualsize;
        }
        /// <summary>
        ///  Tell the game view to create a new world and reset the rendering
        ///  surfaces.
        /// </summary>
        /// <param name="xPixels">The number of world pixels</param>
        /// <param name="yPixels">The number of world pixels</param>
        /// <returns></returns>
        public Rectangle CreateWorld(int xPixels, int yPixels)
        {
            wld = new World();
            _actualsize = wld.CreateWorld(xPixels, yPixels);

            ResetTerrarium();
            viewchanged = true;
            return ActualSize;
        }