|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Trigger
The base interface for all triggers.
priority
: double // how important this trigger isMethod Summary | |
---|---|
java.util.List<Gizmo> |
getAssociatedGizmos()
Gets all the gizmos that are associated with this trigger; ie all the gizmos that this trigger must keep an internal reference to. |
double |
priority()
The priority of this trigger. |
void |
run(GameObject triggerObject,
GameObject otherObject,
GameObject triggerObjectCopy,
GameObject otherObjectCopy)
Runs this trigger. |
Method Detail |
---|
double priority()
void run(GameObject triggerObject, GameObject otherObject, GameObject triggerObjectCopy, GameObject otherObjectCopy)
triggerObject
- the GameObject that is linked to this triggerotherObject
- the other GameObject that was involved in this eventtriggerObjectCopy
- a copy that should be modifiedotherObjectCopy
- a copy that should be modifiedjava.util.List<Gizmo> getAssociatedGizmos()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |