Added isRunning().
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@689 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -256,18 +256,24 @@ public class JmeApp
|
||||
_finished = true;
|
||||
}
|
||||
|
||||
// documentation inherited from interface RunQueue
|
||||
// from interface RunQueue
|
||||
public void postRunnable (Runnable r)
|
||||
{
|
||||
_evqueue.append(r);
|
||||
}
|
||||
|
||||
// documentation inherited from interface RunQueue
|
||||
// from interface RunQueue
|
||||
public boolean isDispatchThread ()
|
||||
{
|
||||
return Thread.currentThread() == _dispatchThread;
|
||||
}
|
||||
|
||||
// from interface RunQueue
|
||||
public boolean isRunning ()
|
||||
{
|
||||
return !_finished;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines the display configuration and creates the display. This must
|
||||
* fill in {@link #_api} as a side-effect.
|
||||
|
||||
Reference in New Issue
Block a user