public class CompoundCoords
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Coords[] |
tileCoords |
private int |
xImg0 |
private int |
xImg1 |
private int |
yImg0 |
private int |
yImg1 |
Constructor and Description |
---|
CompoundCoords(CompoundImage t,
Coords crd) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics g,
CompoundImage t,
float xS,
float yS) |
private static int |
fastCeil(float x) |
private static int |
fastFloor(float x) |
private static int |
find1(int x,
int[] array) |
private static int |
find2(int x,
int[] array) |
private int xImg0
private int xImg1
private int yImg0
private int yImg1
private Coords[] tileCoords
public CompoundCoords(CompoundImage t, Coords crd)
public void draw(Graphics g, CompoundImage t, float xS, float yS)
private static int find1(int x, int[] array)
private static int find2(int x, int[] array)
private static int fastFloor(float x)
private static int fastCeil(float x)