Defines an absolute position in 2D space (using X and Y). The Point class is used in collision. Since precision is important when performing collision operations the Point class uses doubles for its X and Y fields.

Did this article leave any questions unanswered? Post any question in our forums for a rapid response.

Last updated