AxiosEngine-old 

AxiosEngine-old Commit Details


Date:2013-01-02 17:08:00 (11 years 11 months ago)
Author:Natalie Adams
Branch:default
Commit:ac75dc03ed16
Parents: de6cfca9566b
Message:Adding new extensions

Changes:
Aaxios/Engine/Extensions/Camera.cs (full)
Aaxios/Engine/Extensions/MouseState.cs (full)
Maxios/Axios_WP7.csproj (1 diff)
Maxios/Axios_Windows.csproj (1 diff)
Maxios/Axios_Xbox_360.csproj (1 diff)
Maxios/Axios_settings.cs (1 diff)

File differences

axios/Axios_WP7.csproj
171171
172172
173173
174
174175
175176
176
177177
178178
179179
<Compile Include="Engine\Extensions\Contact.cs" />
<Compile Include="Engine\Extensions\Double.cs" />
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\MouseState.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />
<Compile Include="Engine\Factories\Texture2D.cs" />
<Compile Include="Engine\File\AxiosFile.cs" />
<Compile Include="Engine\File\AxiosIsolatedFile.cs" />
<Compile Include="Engine\File\AxiosRegularFile.cs" />
axios/Axios_Windows.csproj
214214
215215
216216
217
217218
218219
219
220220
221221
222222
<Compile Include="Engine\Extensions\Contact.cs" />
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\Double.cs" />
<Compile Include="Engine\Extensions\MouseState.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />
<Compile Include="Engine\Factories\Texture2D.cs" />
<Compile Include="Engine\File\AxiosFile.cs" />
<Compile Include="Engine\File\AxiosIsolatedFile.cs" />
<Compile Include="Engine\File\AxiosRegularFile.cs" />
axios/Axios_Xbox_360.csproj
164164
165165
166166
167
167168
168169
169
170170
171171
172172
<Compile Include="Engine\Extensions\Contact.cs" />
<Compile Include="Engine\Extensions\Double.cs" />
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\MouseState.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />
<Compile Include="Engine\Factories\Texture2D.cs" />
<Compile Include="Engine\File\AxiosFile.cs" />
<Compile Include="Engine\File\AxiosIsolatedFile.cs" />
<Compile Include="Engine\File\AxiosRegularFile.cs" />
axios/Axios_settings.cs
116116
117117
118118
119
119120
120121
121122
* - Adding Factory for Texture2D to create from a list (ie lay a list of texture2D row by row)
* - Adding AddScreen method to ScreenManager to make the PlayerIndex optional (default of PlayerIndex.One)
* - Adding visible flag to DrawableAxiosGameObject and SimpleDrawableAxiosGameObject
* - Adding extension to mousestate (Position) to get a Vector2 object of the position
*
*/
#endregion
axios/Engine/Extensions/Camera.cs
1
2
3
4
5
6
7
8
9
10
11
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Axios.Engine.Extensions
{
public static class Camera
{
}
}
axios/Engine/Extensions/MouseState.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using GameStateManagement;
namespace Axios.Engine.Extensions
{
public static class MoustStateExtensions
{
public static Vector2 Position(this MouseState input)
{
return new Vector2(input.X, input.Y);
}
}
}

Archive Download the corresponding diff file

Page rendered in 0.42675s using 14 queries.