axiosengine 

axiosengine Commit Details


Date:2012-05-26 18:57:16 (12 years 4 months ago)
Author:Natalie Adams
Branch:master
Commit:11ab45d9ee41252dc5c7d2ba0f3609b7a2f68f63
Parents: 13857f324d049ac070db858c26d2126d2f473109
Message:Adding code to keep track of the console in AxiosGameScreen

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

File differences

axios/Engine/AxiosGameScreen.cs
4141
4242
4343
44
45
46
47
4448
4549
4650
......
9599
96100
97101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
98116
99117
100118
private Camera camera;
#if WINDOWS
AxiosCommandConsole _console = null;
#endif
public AxiosGameScreen()
: base()
{
public void AddGameObject(object obj)
{
#if WINDOWS
if (obj is AxiosCommandConsole)
{
if (_console != null)
{
//remove the current one first
ScreenManager.Game.Components.Remove(_console);
_console.Dispose();
_console = null;
}
_console = (AxiosCommandConsole)obj;
ScreenManager.Game.Components.Add(_console);
}
#endif
if (obj is AxiosGameObject || obj is AxiosUIObject || obj is AxiosTimer)
{
AxiosGameObject tmp = obj as AxiosGameObject;

Archive Download the corresponding diff file

Branches

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