FBClient.Core.SuddenDeath.NextMapPosition C# (CSharp) Method

NextMapPosition() private method

private NextMapPosition ( ) : Vector2
return Vector2
        private Vector2 NextMapPosition()
        {
            return
                new Vector2(
                    GamePlayScreen.Random.Next(_gameRef.GraphicsDevice.Viewport.Width - (_mapSize.X*Engine.TileWidth)),
                    GamePlayScreen.Random.Next(_gameRef.GraphicsDevice.Viewport.Height - (_mapSize.Y*Engine.TileHeight)));
        }