|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrle.core.vm.PlugInBase
rle.simple.action.TrapAction
public class TrapAction
Damages players entering a location.
| Field Summary |
|---|
| Fields inherited from class rle.core.vm.PlugInBase |
|---|
config, context, parameters |
| Constructor Summary | |
|---|---|
TrapAction()
|
|
| Method Summary | |
|---|---|
void |
dataChange(RuntimeDataEvent event)
|
void |
locationChange(ThingMoveEvent event)
We should basically be listening to the player and examining each terrain stepped on for actions. |
| Methods inherited from class rle.core.vm.PlugInBase |
|---|
config, getContext, getParameters, paramMap, setConfig, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrapAction()
| Method Detail |
|---|
public void dataChange(RuntimeDataEvent event)
dataChange in interface RuntimeDataListenerpublic void locationChange(ThingMoveEvent event)
locationChange in interface ThingListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||