Uses of Class
rogue.Pt

Uses of Pt in rogue
 

Fields in rogue declared as Pt
protected  Pt DungeonItem.myPosition
          Protected element with current position.
 

Methods in rogue that return Pt
 Pt DungeonItem.position()
          Returns current position
protected  Pt ActiveItem.step(int dir)
          Utility function, finds new position after movement in specified direction.
 

Methods in rogue with parameters of type Pt
 boolean Pt.adjacent(Pt other)
          Tests whether this point is adjacent to other point
 boolean DungeonGame.clearLineOfSight(Pt p1, Pt p2, int max, Pt[] path)
          Utility function likely to be useful from Monster code that your write.
 boolean DungeonGame.clearLineOfSight(Pt p1, Pt p2, int max, Pt[] path)
          Utility function likely to be useful from Monster code that your write.
 Collectable DungeonGame.collectableAt(Pt p)
          Checks whether there is a collectable item at given location
 int Pt.distance(Pt other)
          Calculates distance from this point to other point
 boolean Pt.equals(Pt other)
          Tests equality of points (same coordinates)
 boolean DungeonItem.isAt(Pt p)
          Determine whether item at specified location
 Monster DungeonGame.monsterAt(Pt p)
          Checks whether there is a monster at given location
 

Constructors in rogue with parameters of type Pt
Pt(Pt other)
          Creates a new point, just like the existing point