/// <inheritdoc /> public override void DrawShapes(SceneBatch sceneBatch) { if (containsShapes && Actor.Physics.Type != PhysicsComponent.BodyPhysicsType.None) { Color color = ColorSettings.ForShape(SceneSelect); foreach (Shape shape in Shapes) { sceneBatch.Draw(shape, color, 0f); } } }
/// <inheritdoc /> /// <remarks> /// Draws the path and its bounding rectangle. /// </remarks> public override void Draw(SceneBatch sceneBatch) { sceneBatch.Draw(Rectangle, ColorSettings.ForBounds(SceneSelect), 0f); sceneBatch.Draw(pathShape, ColorSettings.ForShape(SceneSelect), 0f); }