public override void Draw2D(GameObjectTag DrawTag) { LinkedListNode <GameObject> Node = Nodes.Value.First; while (Node != null) { WallNode n = (WallNode)Node.Value; Render.DrawSprite(NodeTexture, n.Position, n.Size, n.Rotation); if (Node.Next != null) { WallNode n2 = (WallNode)Node.Next.Value; Render.DrawSquare(n.Position.get(), n2.Position.get(), (int)(n.Size.X() / 2), ConnectorTexture, Color.White); } Node = Node.Next; } base.Draw2D(DrawTag); }