2012-10-24 15:09:16 +00:00
|
|
|
|
#region Using Statements
|
|
|
|
|
using System;
|
2012-10-23 07:37:08 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
2012-10-24 15:09:16 +00:00
|
|
|
|
using System.Xml.Linq;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
2012-10-23 07:37:08 +00:00
|
|
|
|
|
|
|
|
|
namespace ProjectConverter.Platforms
|
|
|
|
|
{
|
|
|
|
|
public class XnaConverter : AbstractXna2AnxConverter
|
|
|
|
|
{
|
|
|
|
|
public override string Name
|
|
|
|
|
{
|
|
|
|
|
get { return "xna2anx"; }
|
|
|
|
|
}
|
|
|
|
|
|
2012-10-24 15:09:16 +00:00
|
|
|
|
protected internal override MappingDirection MappingDirection
|
2012-10-23 07:37:08 +00:00
|
|
|
|
{
|
2012-10-24 15:09:16 +00:00
|
|
|
|
get { return ProjectConverter.MappingDirection.Xna2Anx; }
|
2012-10-23 07:37:08 +00:00
|
|
|
|
}
|
2012-10-24 15:09:16 +00:00
|
|
|
|
|
|
|
|
|
protected internal override string ReplaceInlineNamespaces(string input)
|
|
|
|
|
{
|
|
|
|
|
return input.Replace("Microsoft.Xna.Framework.Game", "ANX.Framework.Game");
|
|
|
|
|
}
|
|
|
|
|
|
2012-10-23 07:37:08 +00:00
|
|
|
|
}
|
|
|
|
|
}
|