Packages

class ViewImpl extends View with PrimaryStageListener

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ViewImpl
  2. PrimaryStageListener
  3. StatsSceneListener
  4. SettingsSceneListener
  5. MultiPlayerSceneListener
  6. MultiPlayerLevelSelectionSceneListener
  7. MultiPlayerLobbySceneListener
  8. EditorLevelSelectionSceneListener
  9. EditorSceneListener
  10. LevelSelectionSceneListener
  11. LevelSceneListener
  12. View
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ViewImpl(app: JFXApp)

    app

    a reference to the JFXApp, necessary to the correct setup of the whole application

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. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit val executionContextExecutor: ExecutionContextExecutor

    Implicit executor

  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getCampaignLevels: List[CampaignLevel]

    This method retrieve the campaign level info

    This method retrieve the campaign level info

    returns

    a list of CampaignLevel

    Definition Classes
    ViewImplStatsSceneListener
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getCustomLevels: List[LevelInfo]

    This method retrieves the custom levels that must be shown as node

    This method retrieves the custom levels that must be shown as node

    returns

    a list of custom levels

    Definition Classes
    ViewImplEditorLevelSelectionSceneListener
  13. def getMultiPlayerLevels: List[LevelInfo]

    This method retrieves the multiplayer levels that must be shown as node

    This method retrieves the multiplayer levels that must be shown as node

    returns

    a list of multiplayer levels

    Definition Classes
    ViewImplMultiPlayerLevelSelectionSceneListener
  14. def getSingleLevels: List[LevelInfo]

    This method retrieves the levels that must be shown as node

    This method retrieves the levels that must be shown as node

    returns

    a list of LevelInfo

    Definition Classes
    ViewImplLevelSelectionSceneListener
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def onDeleteLevel(level: String, callback: (Boolean) ⇒ Unit): Unit

    Called when the user wants to delete a custom level

    Called when the user wants to delete a custom level

    level

    the level name

    callback

    the callback

    Definition Classes
    ViewImplEditorLevelSelectionSceneListener
  21. def onDisplayError(message: String): Unit
  22. def onLevelContextCreated(levelContext: LevelContext, level: String, isCustom: Boolean = false): Boolean

    This method called when the level context has been created

    This method called when the level context has been created

    levelContext

    the new level context

    level

    the new level name

    isCustom

    true if the level is custom, false otherwise

    returns

    true if the controller level initialization goes fine; otherwise false

    Definition Classes
    ViewImplLevelSelectionSceneListener
  23. def onLevelSpeedChanged(increment: Boolean): Unit

    Called when the level speed changes

    Called when the level speed changes

    increment

    If the speed needs to increased or decreased

    Definition Classes
    ViewImplLevelSceneListener
  24. def onLobbyRequest(user: User, levelInfo: Option[LevelInfo], lobbyContext: LobbyContext, callback: (User, Option[LevelInfo], LobbyContext, GenericResponse[Boolean]) ⇒ Unit): Unit

    After checking the controller, we ask to enter the lobby asynchronously and call the callback function after the future result

    After checking the controller, we ask to enter the lobby asynchronously and call the callback function after the future result

    user

    the user requesting to enter the lobby

    levelInfo

    the chosen level

    lobbyContext

    the lobby context, which may be used by the server to configure existing lobby users

    callback

    the callback

    Definition Classes
    ViewImplMultiPlayerSceneListener
  25. def onPauseLevel(): Unit

    Called when the level gets paused

    Called when the level gets paused

    Definition Classes
    ViewImplLevelSceneListener
  26. def onResumeLevel(): Unit

    Called when the level gets resume

    Called when the level gets resume

    Definition Classes
    ViewImplLevelSceneListener
  27. def onSaveLevel(name: String, map: MapShape, victoryRules: controller.levels.structure.VictoryRules.Value, collisionRules: controller.levels.structure.CollisionRules.Value, entities: Seq[CellEntity], callback: (Boolean) ⇒ Unit): Unit

    Called when the user wants to save the level after the name has been chosen

    Called when the user wants to save the level after the name has been chosen

    name

    the chosen level name

    map

    the chosen level map

    victoryRules

    the chosen victory rules

    collisionRules

    the chosen collision rules

    entities

    the inserted entities

    callback

    the callback

    Definition Classes
    ViewImplEditorSceneListener
  28. def onStartLevel(): Unit

    Called when the level gets started

    Called when the level gets started

    Definition Classes
    ViewImplLevelSceneListener
  29. def onStartMultiPlayerGameClick(levelInfo: LevelInfo): Unit

    Called once per lobby.

    Called once per lobby. This will eventually lead to the server init. The server will eventually respond using the previously passed lobby context

    levelInfo

    the level info requested by the controller

    Definition Classes
    ViewImplMultiPlayerLobbySceneListener
  30. def onStopLevel(victory: Boolean): Unit

    Called when the level gets stopped

    Called when the level gets stopped

    victory

    true if we won the level, false otherwise

    Definition Classes
    ViewImplLevelSceneListener
  31. def setController(controller: Controller): Unit

    Setter.

    Setter. This method sets the reference to the Controller instance

    controller

    the Controller instance

    Definition Classes
    ViewImplView
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from PrimaryStageListener

Inherited from StatsSceneListener

Inherited from SettingsSceneListener

Inherited from MultiPlayerSceneListener

Inherited from EditorSceneListener

Inherited from LevelSceneListener

Inherited from View

Inherited from AnyRef

Inherited from Any

Ungrouped