protected override void onLocationSelected(Location loc) { ElectricPole e = ElectricPole.get(loc); if (e != null) { TrafficVoxel.get(loc).accessory = null; } }
public override void drawVoxel(QuarterViewDrawer view, DrawContextEx canvas, Location loc, Point pt) { if (base.currentPos != loc) { return; } ElectricPole e = ElectricPole.get(loc); if (e != null) { ResourceUtil.emptyChip.drawShape(canvas.surface, pt, Color.Red); } }