public class PointHitbox extends Hitbox
| Constructor and Description | 
|---|
| PointHitbox(CellVector relPosition)Constructs a PointHitbox with the specified relative position. | 
| PointHitbox(long relX,
           long relY)Constructs a PointHitbox with the specified relative position. | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getBottomEdge()Returns the y-coordinate of this Hitbox's absolute bottom boundary. | 
| PointHitbox | getCopy()Returns a copy of this Hitbox with its relative position at the origin
 that is not flipped or rotated. | 
| long | getLeftEdge()Returns the x-coordinate of this Hitbox's absolute left boundary. | 
| long | getRightEdge()Returns the x-coordinate of this Hitbox's absolute right boundary. | 
| long | getTopEdge()Returns the y-coordinate of this Hitbox's absolute top boundary. | 
angleTo, changeRelAngle, changeRelPosition, changeRelPosition, changeRelX, changeRelY, distanceTo, getAbsAngle, getAbsAngleX, getAbsAngleY, getAbsPosition, getAbsX, getAbsXFlip, getAbsXSign, getAbsY, getAbsYFlip, getAbsYSign, getComponentOf, getGameState, getHeight, getObject, getRelAngle, getRelAngleX, getRelAngleY, getRelPosition, getRelX, getRelXFlip, getRelXSign, getRelY, getRelYFlip, getRelYSign, getWidth, isSolid, overlap, overlaps, relFlipX, relFlipY, setRelAngle, setRelPosition, setRelPosition, setRelX, setRelXFlip, setRelY, setRelYFlip, setSolid, setSurfaceSolid, surfaceIsSolidpublic PointHitbox(CellVector relPosition)
relPosition - This PointHitbox's relative positionpublic PointHitbox(long relX,
                   long relY)
relX - The x-coordinate of this PointHitbox's relative positionrelY - The y-coordinate of this PointHitbox's relative positionpublic final PointHitbox getCopy()
Hitboxpublic final long getLeftEdge()
HitboxgetLeftEdge in class Hitboxpublic final long getRightEdge()
HitboxgetRightEdge in class Hitboxpublic final long getTopEdge()
HitboxgetTopEdge in class Hitboxpublic final long getBottomEdge()
HitboxgetBottomEdge in class Hitbox