axiosengine 

axiosengine Commit Details


Date:2012-05-26 18:50:49 (12 years 4 months ago)
Author:Natalie Adams
Branch:master
Commit:13857f324d049ac070db858c26d2126d2f473109
Parents: e9e97dae39ba23f4ac1116486043b749bfda599b
Message:Adding AxiosCommandConsole for easy intergration with AxiosGameScreens Adding the ability to get the InputState object from the ScreenManager

--HG--
branch : xnacc-integration
Changes:

File differences

axios/Axios_WP7.csproj
155155
156156
157157
158
158159
159160
160161
<Compile Include="Dynamics\TimeStep.cs" />
<Compile Include="Dynamics\World.cs" />
<Compile Include="Dynamics\WorldCallbacks.cs" />
<Compile Include="Engine\AxiosCommandConsole.cs" />
<Compile Include="Engine\AxiosEvents.cs" />
<Compile Include="Engine\AxiosGameObject.cs" />
<Compile Include="Engine\AxiosGameScreen.cs" />
axios/Axios_Windows.csproj
9898
9999
100100
101
101102
102103
103104
</ItemGroup>
<ItemGroup>
<Compile Include="Engine\AxiosBreakableGameObject.cs" />
<Compile Include="Engine\AxiosCommandConsole.cs" />
<Compile Include="Engine\AxiosEvents.cs" />
<Compile Include="Axios_settings.cs" />
<Compile Include="Collision\Collision.cs" />
axios/Axios_Xbox_360.csproj
149149
150150
151151
152
152153
153154
154155
<Compile Include="Dynamics\World.cs" />
<Compile Include="Dynamics\WorldCallbacks.cs" />
<Compile Include="Engine\AxiosBreakableGameObject.cs" />
<Compile Include="Engine\AxiosCommandConsole.cs" />
<Compile Include="Engine\AxiosEvents.cs" />
<Compile Include="Engine\AxiosGameObject.cs" />
<Compile Include="Engine\AxiosGameScreen.cs" />
axios/Engine/AxiosCommandConsole.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#if WINDOWS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XNACC.Console;
using Microsoft.Xna.Framework.Graphics;
namespace Axios.Engine
{
class AxiosCommandConsole : CommandConsoleBase
{
public AxiosCommandConsole(AxiosGameScreen gameScreen)
: base(gameScreen.ScreenManager.Game)
{
Keyboard = gameScreen.ScreenManager.InputState;
}
public AxiosCommandConsole(AxiosGameScreen gameScreen, SpriteFont font)
: base(gameScreen.ScreenManager.Game, font)
{
Keyboard = gameScreen.ScreenManager.InputState;
}
}
}
#endif
axios/ScreenSystem/ScreenManager.cs
5757
5858
5959
60
61
62
63
64
6065
6166
6267
#region Properties
public InputState InputState
{
get { return input; }
private set { input = value; }
}
public SpriteFonts Fonts
{

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.11048s using 14 queries.