|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uwcse.sim.PacThing | +--uwcse.sim.Wall
Walls just sit there, getting in the way of the Man.
Fields inherited from class uwcse.sim.PacThing |
alive, rand, world, x, y |
Constructor Summary | |
Wall(WorldModel wm,
int x,
int y)
Create a new wall at the given location. |
Method Summary | |
void |
action()
Does nothing! |
void |
displayOn(uwcse.graphics.GWindow g)
Display as black rectangle. |
Methods inherited from class uwcse.sim.PacThing |
checkNeighbors, getX, getY, interact, isAlive, kill, toString |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Wall(WorldModel wm, int x, int y)
Method Detail |
public void displayOn(uwcse.graphics.GWindow g)
displayOn
in class PacThing
public void action()
action
in class PacThing
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |