|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrle.simple.player.EquipmentListener
public class EquipmentListener
Listens for changes to the player's equipment. When a change (add or remove) is detected, disposes of any computed attributes (of the player) that depend on the equipment.
| Constructor Summary | |
|---|---|
EquipmentListener(GameContext context)
|
|
| Method Summary | |
|---|---|
void |
itemAdded(ItemContainerEvent event)
|
void |
itemRemoved(ItemContainerEvent event)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EquipmentListener(GameContext context)
| Method Detail |
|---|
public void itemAdded(ItemContainerEvent event)
itemAdded in interface ItemContainerListenerpublic void itemRemoved(ItemContainerEvent event)
itemRemoved in interface ItemContainerListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||