public void RenderAfterWorld(WorldRenderer wr) { if (self.Owner != self.World.LocalPlayer) { return; } if (minefield != null) { wr.DrawLocus(Color.Cyan, minefield); } }
public void RenderAfterWorld(WorldRenderer wr, World world) { if (!minelayer.IsInWorld) { return; } var movement = minelayer.Trait <IPositionable>(); var minefield = GetMinefieldCells(minefieldStart, lastMousePos, minelayer.Info.Traits.Get <MinelayerInfo>().MinefieldDepth) .Where(p => movement.CanEnterCell(p)).ToArray(); wr.DrawLocus(Color.Cyan, minefield); }