private void DrawDebug() { if (DebugMode.IsDebugging(Debugging.Ship)) { Debug(); } }
protected void DebugDraw() { if (DebugMode.IsDebugging(Debugging.Ship)) { Debug(); } }
protected virtual void DebugDraw() { if (DebugMode.IsDebugging(Debugging.Component)) { Debug(); } }
protected override void DebugDraw() { if (DebugMode.IsDebugging(Debugging.Particle)) { Debug(); } }
protected override void DebugDraw() { if (DebugMode.IsDebugging(Debugging.Ammo)) { Debug(); } }
public void Update() { if (DebugMode.IsDebugging(Debugging.Camera)) { DebugArea(cornerAreas, SwinGame.RGBAColor(255, 0, 0, 80)); DebugArea(sideAreas, SwinGame.RGBAColor(255, 0, 0, 50)); DebugArea(chaseArea, SwinGame.RGBAColor(255, 0, 0, 20)); } UpdateState(); switch (state) { case State.CORNER: CornerCam(); break; case State.SIDE: SideCam(); break; case State.CHASE: ChaseCam(); break; } }
public void DebugDraw() { if (DebugMode.IsDebugging(Debugging.Nodes)) { if (childNodes != null) { foreach (Node n in childNodes) { n.DebugDraw(); } } SwinGame.DrawRectangle(Color.Yellow, grid); foreach (ICollides c in ICollidesList) { SwinGame.FillRectangle(Color.Aqua, c.RealPos.X, c.RealPos.Y, 10, 10); } if (ICollidesList.Count > 0) { SwinGame.FillRectangle(SwinGame.RGBAColor(255, 255, 0, 100), grid); } } }