Version: 4.1

2.1 Geometry: geometry.*

Add

   import geometry.*

at the top of your Definitions Window to import this library.

This package provides a class for representing positions in a Cartesian world:

   +----------+

   | Posn     |

   +----------+

   | int x    |

   | int y    |

   +----------+

Posn is a class with two fields, one per coordinate. The constructor consumes two integers.