java.lang.Object
be.yildizgames.common.frame.BaseFrameListener
- All Implemented Interfaces:
FrameListener
- Direct Known Subclasses:
EndFrameListener
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 -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface be.yildizgames.common.frame.FrameListener
frameEnded, frameStarted
-
Constructor Details
-
BaseFrameListener
public BaseFrameListener()Simple constructor.
-
-
Method Details
-
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.
-