Packages

class GameLoop extends Thread

Implementation of the game loop.

Linear Supertypes
Thread, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GameLoop
  2. Thread
  3. Runnable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GameLoop(engine: GameEngine, systems: List[System])

    engine

    The Game engine.

    systems

    The list of the systems of the game.

Type Members

  1. type GameStatus = GameStatus.Value

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def checkAccess(): Unit
    Definition Classes
    Thread
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    Thread → AnyRef
    Annotations
    @throws( ... )
  7. val engine: GameEngine
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getContextClassLoader(): ClassLoader
    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  13. def getId(): Long
    Definition Classes
    Thread
  14. final def getName(): String
    Definition Classes
    Thread
  15. final def getPriority(): Int
    Definition Classes
    Thread
  16. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Thread
  17. def getState(): State
    Definition Classes
    Thread
  18. def getStatus: GameStatus

    Gets the current status.

    Gets the current status.

    returns

    The current game status

  19. final def getThreadGroup(): ThreadGroup
    Definition Classes
    Thread
  20. def getUncaughtExceptionHandler(): UncaughtExceptionHandler
    Definition Classes
    Thread
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def interrupt(): Unit
    Definition Classes
    Thread
  23. final def isAlive(): Boolean
    Definition Classes
    Thread
    Annotations
    @native()
  24. final def isDaemon(): Boolean
    Definition Classes
    Thread
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isInterrupted(): Boolean
    Definition Classes
    Thread
  27. final def join(): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  28. final def join(arg0: Long, arg1: Int): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  29. final def join(arg0: Long): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  30. def kill(): Unit

    Kills the execution.

  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def pause(): Unit

    Pauses the execution.

  35. def run(): Unit
    Definition Classes
    GameLoop → Thread → Runnable
  36. def setContextClassLoader(arg0: ClassLoader): Unit
    Definition Classes
    Thread
  37. final def setDaemon(arg0: Boolean): Unit
    Definition Classes
    Thread
  38. final def setName(arg0: String): Unit
    Definition Classes
    Thread
  39. final def setPriority(arg0: Int): Unit
    Definition Classes
    Thread
  40. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit
    Definition Classes
    Thread
  41. def start(): Unit
    Definition Classes
    Thread
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. var systems: List[System]
  44. def toString(): String
    Definition Classes
    Thread → AnyRef → Any
  45. def unPause(): Unit

    Resumes the execution.

  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def countStackFrames(): Int
    Definition Classes
    Thread
    Annotations
    @native() @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def destroy(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def resume(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. final def stop(arg0: Throwable): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. final def stop(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  6. final def suspend(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Thread

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped