|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FireControl
classes that implement FireControl all do the same thing: they return true if they think it's the right moment to fire. This is used either to control the rate of fire for the player, or control when the enemies fire.
| Method Summary | |
|---|---|
boolean |
shouldFire()
call this every turn, it will return true if you should fire |
| Method Detail |
|---|
boolean shouldFire()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||