Additions to Point3D and Point2D structs
When you have a Point3D, you can do
Point3D.ToString(). Although you cannot go back the other way from string to Point3D. The problem is that when I try to set location in-game, it becomes frivolous.
Also, I cannot do [global or [area wipes of items at a certain location (for internal map pruning) because there is no Point3D to string equality operator.
If a regular format is established (easily done, just use the format for ToString()), then there should be no problem to add these, and would make great additions to the power you can acheive in-game and out.
All ideas are welcome as always.
|