c

it.unibo.osmos.redux.mvc.view.scenes

MultiPlayerLevelScene

class MultiPlayerLevelScene extends LevelScene with MultiPlayerLevelContextListener

This scene holds and manages a single level played in multiplayer mode

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

Instance Constructors

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

    parentStage

    the parent stage

    levelInfo

    the level info

    listener

    the listener

    backClickListener

    the back click listener

Value Members

  1. object LevelState

    Level state variables

    Level state variables

    Attributes
    protected
    Definition Classes
    LevelScene
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. var _levelContext: Option[LevelContext]

    The level context, created with the LevelScene

    The level context, created with the LevelScene

    Attributes
    protected
    Definition Classes
    LevelScene
  6. def accelerators: ObservableMap[KeyCombination, Runnable]
    Definition Classes
    Scene
  7. def addMnemonic(m: Mnemonic): Unit
    Definition Classes
    Scene
  8. var additionalAction: () ⇒ Unit
    Definition Classes
    DefaultBackScene
  9. def antialiasing: SceneAntialiasing
    Definition Classes
    Scene
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val backClickListener: BackClickListener
    Definition Classes
    MultiPlayerLevelSceneLevelScene
  12. def camera: ObjectProperty[Camera]
    Definition Classes
    Scene
  13. def camera_=(v: Camera): Unit
    Definition Classes
    Scene
  14. 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
    Definition Classes
    LevelScene
  15. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  16. def content: ObservableList[Node]
    Definition Classes
    Scene
  17. def content_=(n: Node): Unit
    Definition Classes
    Scene
  18. def content_=(c: Iterable[Node]): Unit
    Definition Classes
    Scene
  19. def cursor: ObjectProperty[Cursor]
    Definition Classes
    Scene
  20. def cursor_=(v: Cursor): Unit
    Definition Classes
    Scene
  21. val delegate: Scene
    Definition Classes
    Scene → SFXDelegate
  22. def depthBuffer: Boolean
    Definition Classes
    Scene
  23. def effectiveNodeOrientation: ReadOnlyObjectProperty[NodeOrientation]
    Definition Classes
    Scene
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(ref: Any): Boolean
    Definition Classes
    SFXDelegate → AnyRef → Any
  26. def eventDispatcher: ObjectProperty[EventDispatcher]
    Definition Classes
    Scene
  27. def eventDispatcher_=(v: EventDispatcher): Unit
    Definition Classes
    Scene
  28. def fill: ObjectProperty[Paint]
    Definition Classes
    Scene
  29. def fill_=(v: Paint): Unit
    Definition Classes
    Scene
  30. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def focusOwner: ReadOnlyObjectProperty[Node]
    Definition Classes
    Scene
  32. def getChildren: ObservableList[Node]
    Definition Classes
    Scene
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def getMnemonics: ObservableMap[KeyCombination, ObservableList[Mnemonic]]
    Definition Classes
    Scene
  35. val goBack: Button

    The back button

    The back button

    Attributes
    protected
    Definition Classes
    DefaultBackScene
  36. def hashCode(): Int
    Definition Classes
    SFXDelegate → AnyRef → Any
  37. def height: ReadOnlyDoubleProperty
    Definition Classes
    Scene
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def levelContext: Option[_ <: LevelContext]

    The level context, created with the MultiPlayerLevelScene.

    The level context, created with the MultiPlayerLevelScene. It must be a MultiPlayerLevelContext

    Definition Classes
    MultiPlayerLevelSceneLevelScene
  40. def levelContext_=(levelContext: LevelContext): Unit
    Definition Classes
    MultiPlayerLevelSceneLevelScene
  41. val levelInfo: LevelInfo
    Definition Classes
    MultiPlayerLevelSceneLevelScene
  42. val listener: LevelSceneListener
    Definition Classes
    MultiPlayerLevelSceneLevelScene
  43. def lookup(selector: String): Option[Node]
    Definition Classes
    Scene
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def nodeOrientation: ObjectProperty[NodeOrientation]
    Definition Classes
    Scene
  46. def nodeOrientation_=(v: NodeOrientation): Unit
    Definition Classes
    Scene
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. def onContextMenuRequested: ObjectProperty[EventHandler[_ >: ContextMenuEvent]]
    Definition Classes
    Scene
  50. def onContextMenuRequested_=(v: EventHandler[_ >: ContextMenuEvent]): Unit
    Definition Classes
    Scene
  51. def onDragDetected: ObjectProperty[EventHandler[_ >: MouseEvent]]
    Definition Classes
    Scene
  52. def onDragDetected_=(v: EventHandler[_ >: MouseEvent]): Unit
    Definition Classes
    Scene
  53. def onDragDone: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  54. def onDragDone_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  55. def onDragDropped: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  56. def onDragDropped_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  57. def onDragEntered: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  58. def onDragEntered_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  59. def onDragExited: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  60. def onDragExited_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  61. def onDragOver: ObjectProperty[EventHandler[_ >: DragEvent]]
    Definition Classes
    Scene
  62. def onDragOver_=(v: EventHandler[_ >: DragEvent]): Unit
    Definition Classes
    Scene
  63. 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
  64. def onInputMethodTextChanged: ObjectProperty[EventHandler[_ >: InputMethodEvent]]
    Definition Classes
    Scene
  65. def onInputMethodTextChanged_=(v: EventHandler[_ >: InputMethodEvent]): Unit
    Definition Classes
    Scene
  66. def onKeyPressed: ObjectProperty[EventHandler[_ >: KeyEvent]]
    Definition Classes
    Scene
  67. def onKeyPressed_=(v: EventHandler[_ >: KeyEvent]): Unit
    Definition Classes
    Scene
  68. def onKeyReleased: ObjectProperty[EventHandler[_ >: KeyEvent]]
    Definition Classes
    Scene
  69. def onKeyReleased_=(v: EventHandler[_ >: KeyEvent]): Unit
    Definition Classes
    Scene
  70. def onKeyTyped: ObjectProperty[EventHandler[_ >: KeyEvent]]
    Definition Classes
    Scene
  71. def onKeyTyped_=(v: EventHandler[_ >: KeyEvent]): Unit
    Definition Classes
    Scene
  72. 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
  73. def onLevelLostAsServer(): Unit

    Called when we lost as a server

    Called when we lost as a server

    Definition Classes
    MultiPlayerLevelSceneMultiPlayerLevelContextListener
  74. def onLevelSetup(mapShape: MapShape): Unit

    Called once.

    Called once. Manages the context setup communicating the level shape

    mapShape

    the level shape

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

    Sends a MouseEventWrapper to the LevelContextListener

    Sends a MouseEventWrapper to the LevelContextListener

    mouseEvent

    the mouse event

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

Inherited from LevelScene

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