Class VoidTrigger
java.lang.Object
fr.r1r0r0.deltaengine.model.events.VoidTrigger
- All Implemented Interfaces:
Trigger
public class VoidTrigger extends java.lang.Object implements Trigger
A void event, that triggers nothing and checks nothing.
Used to avoid a null attribute.
-
Field Summary
Fields Modifier and Type Field Description static VoidTrigger
INSTANCE
Instance of this class, because it is impossible (and useless) to create a new one each time -
Constructor Summary
Constructors Modifier Constructor Description private
VoidTrigger()
Cannot be instanced -
Method Summary
Modifier and Type Method Description static VoidTrigger
getInstance()
Instance of this class, because it is impossible (and useless) to create a new one each timevoid
trigger()
Method to execute trigger behaviourMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
Instance of this class, because it is impossible (and useless) to create a new one each time
-
-
Constructor Details
-
VoidTrigger
private VoidTrigger()Cannot be instanced
-
-
Method Details