class LevelScene extends DefaultBackScene with LevelContextListener

This scene holds and manages a single level

Linear Supertypes
LevelContextListener, DefaultBackScene, BaseScene, Serializable, Serializable, Product, Equals, Scene, SFXDelegate[Scene], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LevelScene
  2. LevelContextListener
  3. DefaultBackScene
  4. BaseScene
  5. Serializable
  6. Serializable
  7. Product
  8. Equals
  9. Scene
  10. SFXDelegate
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LevelScene(parentStage: Stage, levelInfo: LevelInfo, listener: LevelSceneListener, backClickListener: BackClickListener)

    parentStage

    the parent stage

    levelInfo

    the level info

    listener

    the listener

    backClickListener

    the back click listener listener

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. var _levelContext: Option[LevelContext]

    The level context, created with the LevelScene

    The level context, created with the LevelScene

    Attributes
    protected
  5. def accelerators: ObservableMap[KeyCombination, Runnable]
    Definition Classes
    Scene
  6. def addMnemonic(m: Mnemonic): Unit
    Definition Classes
    Scene
  7. var additionalAction: () ⇒ Unit
    Definition Classes
    DefaultBackScene
  8. def antialiasing: SceneAntialiasing
    Definition Classes
    Scene
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val backClickListener: BackClickListener
  11. def camera: ObjectProperty[Camera]
    Definition Classes
    Scene
  12. def camera_=(v: Camera): Unit
    Definition Classes
    Scene
  13. val canvas: Canvas

    The canvas which will draw the elements on the screen

    The canvas which will draw the elements on the screen

    Attributes
    protected
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  15. def content: ObservableList[Node]
    Definition Classes
    Scene
  16. def content_=(n: Node): Unit
    Definition Classes
    Scene
  17. def content_=(c: Iterable[Node]): Unit
    Definition Classes
    Scene
  18. def cursor: ObjectProperty[Cursor]
    Definition Classes
    Scene
  19. def cursor_=(v: Cursor): Unit
    Definition Classes
    Scene
  20. val delegate: Scene
    Definition Classes
    Scene → SFXDelegate
  21. def depthBuffer: Boolean
    Definition Classes
    Scene
  22. def effectiveNodeOrientation: ReadOnlyObjectProperty[NodeOrientation]
    Definition Classes
    Scene
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(ref: Any): Boolean
    Definition Classes
    SFXDelegate → AnyRef → Any
  25. def eventDispatcher: ObjectProperty[EventDispatcher]
    Definition Classes
    Scene
  26. def eventDispatcher_=(v: EventDispatcher): Unit
    Definition Classes
    Scene
  27. def fill: ObjectProperty[Paint]
    Definition Classes
    Scene
  28. def fill_=(v: Paint): Unit
    Definition Classes
    Scene
  29. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def focusOwner: ReadOnlyObjectProperty[Node]
    Definition Classes
    Scene
  31. def getChildren: ObservableList[Node]
    Definition Classes
    Scene
  32. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def getMnemonics: ObservableMap[KeyCombination, ObservableList[Mnemonic]]
    Definition Classes
    Scene
  34. val goBack: Button

    The back button

    The back button

    Attributes
    protected
    Definition Classes
    DefaultBackScene
  35. def hashCode(): Int
    Definition Classes
    SFXDelegate → AnyRef → Any
  36. def height: ReadOnlyDoubleProperty
    Definition Classes
    Scene
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def levelContext: Option[LevelContext]
  39. def levelContext_=(levelContext: LevelContext): Unit
  40. val levelInfo: LevelInfo
  41. val listener: LevelSceneListener
  42. def lookup(selector: String): Option[Node]
    Definition Classes
    Scene
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def nodeOrientation: ObjectProperty[NodeOrientation]
    Definition Classes
    Scene
  45. def nodeOrientation_=(v: NodeOrientation): Unit
    Definition Classes
    Scene
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. def onContextMenuRequested: ObjectProperty[EventHandler[_ >: ContextMenuEvent]]
    Definition Classes
    Scene
  49. def onContextMenuRequested_=(v: EventHandler[_ >: ContextMenuEvent]): Unit
    Definition Classes
    Scene
  50. def onDragDetected: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  51. def onDragDetected_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  52. def onDragDone: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  53. def onDragDone_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  54. def onDragDropped: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  55. def onDragDropped_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  56. def onDragEntered: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  57. def onDragEntered_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  58. def onDragExited: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  59. def onDragExited_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  60. def onDragOver: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  61. def onDragOver_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  62. def onDrawEntities(playerEntity: Option[DrawableWrapper], entities: Seq[DrawableWrapper]): Unit

    Called when the LevelContext retrieve a collection of entities that must be drawn on the scene

    Called when the LevelContext retrieve a collection of entities that must be drawn on the scene

    playerEntity

    the player entity. It may be empty

    entities

    the other entities

    Definition Classes
    LevelSceneLevelContextListener
  63. def onInputMethodTextChanged: ObjectProperty[EventHandler[_ >: InputMethodEvent]]
    Definition Classes
    Scene
  64. def onInputMethodTextChanged_=(v: EventHandler[_ >: InputMethodEvent]): Unit
    Definition Classes
    Scene
  65. def onKeyPressed: ObjectProperty[EventHandler[_ >: KeyEvent]]
    Definition Classes
    Scene
  66. def onKeyPressed_=(v: EventHandler[_ >: KeyEvent]): Unit
    Definition Classes
    Scene
  67. def onKeyReleased: ObjectProperty[EventHandler[_ >: KeyEvent]]
    Definition Classes
    Scene
  68. def onKeyReleased_=(v: EventHandler[_ >: KeyEvent]): Unit
    Definition Classes
    Scene
  69. def onKeyTyped: ObjectProperty[EventHandler[_ >: KeyEvent]]
    Definition Classes
    Scene
  70. def onKeyTyped_=(v: EventHandler[_ >: KeyEvent]): Unit
    Definition Classes
    Scene
  71. def onLevelEnd(levelResult: Boolean): Unit

    Called once when the level ends.

    Called once when the level ends.

    levelResult

    true if the player has won, false otherwise

    Definition Classes
    LevelSceneLevelContextListener
  72. def onLevelSetup(mapShape: MapShape): Unit

    Called once.

    Called once. Manages the context setup communicating the level shape

    mapShape

    the level shape

    Definition Classes
    LevelSceneLevelContextListener
  73. def onMouseClicked: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  74. def onMouseClicked_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  75. def onMouseDragEntered: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
    Definition Classes
    Scene
  76. def onMouseDragEntered_=(v: EventHandler[_ >: MouseDragEvent]): Unit
    Definition Classes
    Scene
  77. def onMouseDragExited: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
    Definition Classes
    Scene
  78. def onMouseDragExited_=(v: EventHandler[_ >: MouseDragEvent]): Unit
    Definition Classes
    Scene
  79. def onMouseDragOver: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
    Definition Classes
    Scene
  80. def onMouseDragOver_=(v: EventHandler[_ >: MouseDragEvent]): Unit
    Definition Classes
    Scene
  81. def onMouseDragReleased: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
    Definition Classes
    Scene
  82. def onMouseDragReleased_=(v: EventHandler[_ >: MouseDragEvent]): Unit
    Definition Classes
    Scene
  83. def onMouseDragged: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  84. def onMouseDragged_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  85. def onMouseEntered: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  86. def onMouseEntered_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  87. def onMouseExited: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  88. def onMouseExited_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  89. def onMouseMoved: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  90. def onMouseMoved_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  91. def onMousePressed: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  92. def onMousePressed_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  93. def onMouseReleased: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  94. def onMouseReleased_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  95. def onPause(): Unit
  96. def onResume(): Unit
    Attributes
    protected
  97. def onRotate: ObjectProperty[EventHandler[_ >: RotateEvent]]
    Definition Classes
    Scene
  98. def onRotate_=(v: EventHandler[_ >: RotateEvent]): Unit
    Definition Classes
    Scene
  99. def onRotationFinished: ObjectProperty[EventHandler[_ >: RotateEvent]]
    Definition Classes
    Scene
  100. def onRotationFinished_=(v: EventHandler[_ >: RotateEvent]): Unit
    Definition Classes
    Scene
  101. def onRotationStarted: ObjectProperty[EventHandler[_ >: RotateEvent]]
    Definition Classes
    Scene
  102. def onRotationStarted_=(v: EventHandler[_ >: RotateEvent]): Unit
    Definition Classes
    Scene
  103. def onScroll: ObjectProperty[EventHandler[_ >: ScrollEvent]]
    Definition Classes
    Scene
  104. def onScrollFinished: ObjectProperty[EventHandler[_ >: ScrollEvent]]
    Definition Classes
    Scene
  105. def onScrollFinished_=(v: EventHandler[_ >: ScrollEvent]): Unit
    Definition Classes
    Scene
  106. def onScrollStarted: ObjectProperty[EventHandler[_ >: ScrollEvent]]
    Definition Classes
    Scene
  107. def onScrollStarted_=(v: EventHandler[_ >: ScrollEvent]): Unit
    Definition Classes
    Scene
  108. def onScroll_=(v: EventHandler[_ >: ScrollEvent]): Unit
    Definition Classes
    Scene
  109. def onSwipeDown: ObjectProperty[EventHandler[_ >: SwipeEvent]]
    Definition Classes
    Scene
  110. def onSwipeDown_=(v: EventHandler[_ >: SwipeEvent]): Unit
    Definition Classes
    Scene
  111. def onSwipeLeft: ObjectProperty[EventHandler[_ >: SwipeEvent]]
    Definition Classes
    Scene
  112. def onSwipeLeft_=(v: EventHandler[_ >: SwipeEvent]): Unit
    Definition Classes
    Scene
  113. def onSwipeRight: ObjectProperty[EventHandler[_ >: SwipeEvent]]
    Definition Classes
    Scene
  114. def onSwipeRight_=(v: EventHandler[_ >: SwipeEvent]): Unit
    Definition Classes
    Scene
  115. def onSwipeUp: ObjectProperty[EventHandler[_ >: SwipeEvent]]
    Definition Classes
    Scene
  116. def onSwipeUp_=(v: EventHandler[_ >: SwipeEvent]): Unit
    Definition Classes
    Scene
  117. def onTouchMoved: ObjectProperty[EventHandler[_ >: TouchEvent]]
    Definition Classes
    Scene
  118. def onTouchMoved_=(v: EventHandler[_ >: TouchEvent]): Unit
    Definition Classes
    Scene
  119. def onTouchPressed: ObjectProperty[EventHandler[_ >: TouchEvent]]
    Definition Classes
    Scene
  120. def onTouchPressed_=(v: EventHandler[_ >: TouchEvent]): Unit
    Definition Classes
    Scene
  121. def onTouchReleased: ObjectProperty[EventHandler[_ >: TouchEvent]]
    Definition Classes
    Scene
  122. def onTouchReleased_=(v: EventHandler[_ >: TouchEvent]): Unit
    Definition Classes
    Scene
  123. def onTouchStationary: ObjectProperty[EventHandler[_ >: TouchEvent]]
    Definition Classes
    Scene
  124. def onTouchStationary_=(v: EventHandler[_ >: TouchEvent]): Unit
    Definition Classes
    Scene
  125. def onZoom: ObjectProperty[EventHandler[_ >: ZoomEvent]]
    Definition Classes
    Scene
  126. def onZoomFinished: ObjectProperty[EventHandler[_ >: ZoomEvent]]
    Definition Classes
    Scene
  127. def onZoomFinished_=(v: EventHandler[_ >: ZoomEvent]): Unit
    Definition Classes
    Scene
  128. def onZoomStarted: ObjectProperty[EventHandler[_ >: ZoomEvent]]
    Definition Classes
    Scene
  129. def onZoomStarted_=(v: EventHandler[_ >: ZoomEvent]): Unit
    Definition Classes
    Scene
  130. def onZoom_=(v: EventHandler[_ >: ZoomEvent]): Unit
    Definition Classes
    Scene
  131. val parentStage: Stage
    Definition Classes
    LevelSceneDefaultBackSceneBaseScene
  132. def removeMnemonic(m: Mnemonic): Unit
    Definition Classes
    Scene
  133. def root: ObjectProperty[Parent]
    Definition Classes
    Scene
  134. def root_=(v: Parent): Unit
    Definition Classes
    Scene
  135. def sendMouseEvent(mouseEvent: MouseEvent): Unit

    Sends a MouseEventWrapper to the LevelContextListener

    Sends a MouseEventWrapper to the LevelContextListener

    mouseEvent

    the mouse event

    Attributes
    protected
  136. def setAdditionalAction(action: () ⇒ Unit): Unit

    The additional action setter

    The additional action setter

    action

    a new function that should be executed before calling the back listener

    Attributes
    protected
    Definition Classes
    DefaultBackScene
  137. def setText(backText: String): Unit

    The text setter

    The text setter

    backText

    the new text that must be shown on the button

    Attributes
    protected
    Definition Classes
    DefaultBackScene
  138. def snapshot(callback: (SnapshotResult) ⇒ Unit, image: WritableImage): Unit
    Definition Classes
    Scene
  139. def snapshot(image: WritableImage): WritableImage
    Definition Classes
    Scene
  140. def startDragAndDrop(transferModes: TransferMode*): Dragboard
    Definition Classes
    Scene
  141. def startFullDrag(): Unit
    Definition Classes
    Scene
  142. def stylesheets: ObservableList[String]
    Definition Classes
    Scene
  143. def stylesheets_=(c: Iterable[String]): Unit
    Definition Classes
    Scene
  144. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  145. def toString(): String
    Definition Classes
    SFXDelegate → AnyRef → Any
  146. def userAgentStylesheet: ObjectProperty[String]
    Definition Classes
    Scene
  147. def userAgentStylesheet_=(url: String): Unit
    Definition Classes
    Scene
  148. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  150. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  151. def width: ReadOnlyDoubleProperty
    Definition Classes
    Scene
  152. def window: ReadOnlyObjectProperty[Window]
    Definition Classes
    Scene
  153. def x: ReadOnlyDoubleProperty
    Definition Classes
    Scene
  154. def y: ReadOnlyDoubleProperty
    Definition Classes
    Scene
  155. object LevelState

    Level state variables

    Level state variables

    Attributes
    protected

Inherited from LevelContextListener

Inherited from DefaultBackScene

Inherited from BaseScene

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Scene

Inherited from SFXDelegate[Scene]

Inherited from AnyRef

Inherited from Any

Ungrouped