Package | Description |
---|---|
uwcse.sim |
Modifier and Type | Method and Description |
---|---|
void |
WorldModel.add(Thing t)
Add the given thing to the world.
|
java.util.List |
WorldModel.getThings(Thing t)
Get the neighbors of this thing, that is, those Things that
inhabit the same cell.
|
java.util.List |
WorldModel.getThings(Thing t,
java.util.List offSets)
Get the things that inhabit the cells that are in the given
list of directions from the cell inhabited by the given thing.
|
java.util.List |
WorldModel.getThings(Thing t,
Offset dir)
Get the things that inhabit the cell that is in the given
direction from the cell inhabited by the given thing.
|
void |
WorldModel.remove(Thing t)
Remove a thing from the world map.
|