/// <summary> /// Does the level of collision testing has flag for testing this level /// </summary> /// <param name="_level"></param> /// <param name="_stage"></param> /// <returns></returns> public static bool AcceptTest(Options.CollisionStage _level, Options.CollisionStage _flag) { if ((_level & _flag) == _flag) { return true; } return false; }
public SpaceApplication() { ClientSize = new Size(screenwidth, screenheight); // Specify the client size Text = "Intersacting meshes"; // Specify the title Options = new Options(); Instance = this; }