public static void RenderDebugOptionStates(SpriteBatch spriteBatch) { for (int i = 1; i < (int)DebugOp.Count; i++) { DebugOp opt = (DebugOp)i; spriteBatch.DrawString(Game1.Instance.smallFont, "(" + i + ") " + opt.ToString() + " --- " + _settings[opt], new Vector2(200, -5 + (i * 15)), _debugColor); } }
public static bool IsOn(DebugOp setting) { return(_settings[setting]); }