class GameLoop extends Thread
Implementation of the game loop.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GameLoop
- Thread
- Runnable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
GameLoop(engine: GameEngine, systems: List[System])
- engine
The Game engine.
- systems
The list of the systems of the game.
Type Members
- type GameStatus = GameStatus.Value
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
checkAccess(): Unit
- Definition Classes
- Thread
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- Thread → AnyRef
- Annotations
- @throws( ... )
- val engine: GameEngine
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getContextClassLoader(): ClassLoader
- Definition Classes
- Thread
- Annotations
- @CallerSensitive()
-
def
getId(): Long
- Definition Classes
- Thread
-
final
def
getName(): String
- Definition Classes
- Thread
-
final
def
getPriority(): Int
- Definition Classes
- Thread
-
def
getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Thread
-
def
getState(): State
- Definition Classes
- Thread
-
def
getStatus: GameStatus
Gets the current status.
Gets the current status.
- returns
The current game status
-
final
def
getThreadGroup(): ThreadGroup
- Definition Classes
- Thread
-
def
getUncaughtExceptionHandler(): UncaughtExceptionHandler
- Definition Classes
- Thread
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
interrupt(): Unit
- Definition Classes
- Thread
-
final
def
isAlive(): Boolean
- Definition Classes
- Thread
- Annotations
- @native()
-
final
def
isDaemon(): Boolean
- Definition Classes
- Thread
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isInterrupted(): Boolean
- Definition Classes
- Thread
-
final
def
join(): Unit
- Definition Classes
- Thread
- Annotations
- @throws( ... )
-
final
def
join(arg0: Long, arg1: Int): Unit
- Definition Classes
- Thread
- Annotations
- @throws( ... )
-
final
def
join(arg0: Long): Unit
- Definition Classes
- Thread
- Annotations
- @throws( ... )
-
def
kill(): Unit
Kills the execution.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pause(): Unit
Pauses the execution.
-
def
run(): Unit
- Definition Classes
- GameLoop → Thread → Runnable
-
def
setContextClassLoader(arg0: ClassLoader): Unit
- Definition Classes
- Thread
-
final
def
setDaemon(arg0: Boolean): Unit
- Definition Classes
- Thread
-
final
def
setName(arg0: String): Unit
- Definition Classes
- Thread
-
final
def
setPriority(arg0: Int): Unit
- Definition Classes
- Thread
-
def
setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit
- Definition Classes
- Thread
-
def
start(): Unit
- Definition Classes
- Thread
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var systems: List[System]
-
def
toString(): String
- Definition Classes
- Thread → AnyRef → Any
-
def
unPause(): Unit
Resumes the execution.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
def
countStackFrames(): Int
- Definition Classes
- Thread
- Annotations
- @native() @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
def
destroy(): Unit
- Definition Classes
- Thread
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
final
def
resume(): Unit
- Definition Classes
- Thread
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
final
def
stop(arg0: Throwable): Unit
- Definition Classes
- Thread
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
final
def
stop(): Unit
- Definition Classes
- Thread
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
final
def
suspend(): Unit
- Definition Classes
- Thread
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.