diff -r bdbc7a063edc36a8c3ae6abf7a54792b58c845f3 -r 67ebb6b105017011274ded86c80c1ad4e8f922b9 axios/Axios_WP7.csproj
--- a/axios/Axios_WP7.csproj Mon May 20 21:45:31 2013 -0500
+++ b/axios/Axios_WP7.csproj Mon May 26 17:07:42 2014 -0500
@@ -156,6 +156,7 @@
+
diff -r bdbc7a063edc36a8c3ae6abf7a54792b58c845f3 -r 67ebb6b105017011274ded86c80c1ad4e8f922b9 axios/Axios_Windows.csproj
--- a/axios/Axios_Windows.csproj Mon May 20 21:45:31 2013 -0500
+++ b/axios/Axios_Windows.csproj Mon May 26 17:07:42 2014 -0500
@@ -99,6 +99,7 @@
+
diff -r bdbc7a063edc36a8c3ae6abf7a54792b58c845f3 -r 67ebb6b105017011274ded86c80c1ad4e8f922b9 axios/Axios_Xbox_360.csproj
--- a/axios/Axios_Xbox_360.csproj Mon May 20 21:45:31 2013 -0500
+++ b/axios/Axios_Xbox_360.csproj Mon May 26 17:07:42 2014 -0500
@@ -150,6 +150,7 @@
+
diff -r bdbc7a063edc36a8c3ae6abf7a54792b58c845f3 -r 67ebb6b105017011274ded86c80c1ad4e8f922b9 axios/Engine/AxiosEngineFactory.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/axios/Engine/AxiosEngineFactory.cs Mon May 26 17:07:42 2014 -0500
@@ -0,0 +1,32 @@
+using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
+using System.Collections.Generic;
+
+namespace Axios.Engine.Factories
+{
+ public class Texture2DFactory
+ {
+ public static Texture2D CreateFromList(List textures, int width, int height)
+ {
+ if (textures.Count <= 0)
+ return (Texture2D)null;
+ Texture2D texture2D1 = new Texture2D(textures[0].GraphicsDevice, width, height);
+ Color[] data1 = new Color[width * height];
+ texture2D1.GetData(data1);
+ Rectangle rectangle = new Rectangle(0, 0, textures[0].Width, textures[0].Height);
+ foreach (Texture2D texture2D2 in textures)
+ {
+ Color[] data2 = new Color[texture2D2.Width * texture2D2.Height];
+ texture2D2.GetData(data2);
+ texture2D1.SetData(0, new Rectangle?(rectangle), data2, 0, texture2D2.Width * texture2D2.Height);
+ rectangle.X += texture2D2.Width;
+ if (rectangle.X >= width)
+ {
+ rectangle.X = 0;
+ rectangle.Y += texture2D2.Height;
+ }
+ }
+ return texture2D1;
+ }
+ }
+}