|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Caretaker.ChangeListener
Callback interface for listening to changes to the numbers.
Method Summary | |
---|---|
void |
creatureTypeAvailabilityUpdated(CreatureType type,
int availableCount)
Called whenever a change to the availability of a single creature type occurs. |
void |
creatureTypeCountsUpdated(CreatureType type)
Called when a change was done on either avail or dead, or both. |
void |
creatureTypeDeadCountUpdated(CreatureType type,
int deadCount)
Called whenever a change to the number of dead creatures of a single type occurs. |
void |
fullUpdate()
Called after large changes when listeners should perform an update of all inferred information and/or displays. |
Method Detail |
---|
void creatureTypeAvailabilityUpdated(CreatureType type, int availableCount)
Caretaker
on a full update but only on smaller
changes.
type
- The creature type for which the count is changed.availableCount
- The new number of available creatures of this type.void creatureTypeDeadCountUpdated(CreatureType type, int deadCount)
Caretaker
on a full update but only on smaller
changes.
type
- The creature type for which the count is changed.deadCount
- The new number of dead creatures of this type.void creatureTypeCountsUpdated(CreatureType type)
type
- The creature type for which the count is changed.void fullUpdate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |