Ejemplo n.º 1
0
 public Point positionRelativeTo(EntityStatic entity)
 {
     return(new Point(
                this.getX() - entity.getX(),
                this.getY() - entity.getY()
                ));
 }
Ejemplo n.º 2
0
 public int yRelativeTo(EntityStatic entity)
 {
     return(this.getY() - entity.getY());
 }