public class PickStore
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
npoint |
(package private) int |
nregion |
(package private) int[][] |
pointBoxes |
(package private) Pickable[] |
points |
(package private) int[][] |
regionRefs |
(package private) PickableRegion[] |
regions |
(package private) int |
xref |
(package private) int |
yref |
Constructor and Description |
---|
PickStore() |
Modifier and Type | Method and Description |
---|---|
void |
addPickableRegion(PickableRegion pbl,
int xr,
int yr) |
void |
addPoint(Pickable pbl,
int xa,
int ya,
int xb,
int yb) |
void |
addPoint(PickablePoint pbl,
int xc,
int yc) |
void |
clear() |
Pickable |
getClaimant(int mx,
int my,
double dx,
double dy) |
int |
getClaimantRefX() |
int |
getClaimantRefY() |
int[] |
getEchoBox(PickablePoint pp) |
boolean |
itemClaims(Pickable pbl,
int mx,
int my,
double dx,
double dy) |
private boolean |
within(int[] xyxy,
int x,
int y) |
int npoint
Pickable[] points
int[][] pointBoxes
int nregion
PickableRegion[] regions
int[][] regionRefs
int xref
int yref
public void clear()
public void addPoint(PickablePoint pbl, int xc, int yc)
public void addPoint(Pickable pbl, int xa, int ya, int xb, int yb)
public void addPickableRegion(PickableRegion pbl, int xr, int yr)
private boolean within(int[] xyxy, int x, int y)
public Pickable getClaimant(int mx, int my, double dx, double dy)
public int getClaimantRefX()
public int getClaimantRefY()
public boolean itemClaims(Pickable pbl, int mx, int my, double dx, double dy)
public int[] getEchoBox(PickablePoint pp)
Copyright © 2013. All Rights Reserved.