- java.lang.Object
-
- be.yildizgames.common.frame.BaseFrameListener
-
- All Implemented Interfaces:
FrameListener
- Direct Known Subclasses:
EndFrameListener,StartFrameListener
public abstract class BaseFrameListener extends Object implements FrameListener
Listen when a frame starts and finishes, the frame end method provide the time since the last frame.- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description BaseFrameListener()Simple constructor.
-
Method Summary
Modifier and Type Method Description booleanframeEnded()Called when a frame ends.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface be.yildizgames.common.frame.FrameListener
frameEnded, frameStarted
-
-
-
-
Method Detail
-
frameEnded
public final boolean frameEnded()
Called when a frame ends.- Specified by:
frameEndedin interfaceFrameListener- Returns:
falseif the listener has finished his job and must be removed from the notify list.
-
-