AxiosEngine-old 

AxiosEngine-old Commit Details


Date:2012-05-26 18:57:00 (13 years 4 months ago)
Author:Natalie Adams
Branch:xnacc-integration
Commit:82c54cdf1b67
Parents: 552db509979e
Message:Adding code to keep track of the console in AxiosGameScreen

Changes:
Maxios/Engine/AxiosGameScreen.cs (2 diffs)

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

Page rendered in 0.70685s using 14 queries.