axiosengine/axios/Engine/AxiosCommandConsole.cs
Nathan Adams 13857f324d Adding AxiosCommandConsole for easy intergration with AxiosGameScreens
Adding the ability to get the InputState object from the ScreenManager

--HG--
branch : xnacc-integration
2012-05-26 18:50:49 -05:00

26 lines
694 B
C#

#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