public class CreatureModel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
round
round last round updated |
int |
x
x last x of creature |
int |
y
y last y of creature |
| Constructor and Description |
|---|
CreatureModel(Creature creature,
int w,
int h) |
| Modifier and Type | Method and Description |
|---|---|
double |
getProbability(int px,
int py,
int r) |
void |
update(int x2,
int y2,
int r) |
public int x
x last x of creaturepublic int y
y last y of creaturepublic int round
round last round updatedpublic CreatureModel(Creature creature, int w, int h)
creature - w - h -