v0.3.0.3: ignoring input if window isn't active

This commit is contained in:
Regalis
2016-01-28 21:49:52 +02:00
parent d8149ffaa2
commit f5c2dbf22a
5 changed files with 31 additions and 16 deletions
+5
View File
@@ -22,6 +22,11 @@ namespace Barotrauma
public static GameMain Instance;
public static bool WindowActive
{
get { return Instance == null ? true : GameMain.Instance.IsActive; }
}
public static bool DebugDraw;
public static GraphicsDevice CurrGraphicsDevice;