Switched undo/redo buffer to use BlockPoint. Added Point.toBlockPoint().

This commit is contained in:
sk89q
2010-10-11 11:21:43 -07:00
parent f64cc76906
commit 6882aa416d
2 changed files with 21 additions and 12 deletions

View File

@ -377,4 +377,13 @@ public class Point {
public String toString() {
return "(" + x + ", " + y + ", " + z + ")";
}
/**
* Gets a BlockPoint version.
*
* @return BlockPoint
*/
public BlockPoint toBlockPoint() {
return new BlockPoint(this);
}
}