Packages

o

game

Round

object Round

Provides the functionality to manage the initialization and termination of each round.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Round
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val PhysicalAttackRepresentation: String
  5. def actCalculation(attacker: Character, moveName: String, targets: List[Character]): Unit

    Given an attacker, his move and a list of targets, applies the move and updates the state of the battle and the GUI.

    Given an attacker, his move and a list of targets, applies the move and updates the state of the battle and the GUI.

    attacker

    the character that makes the move

    moveName

    the move name

    targets

    the list of characters affected by the move

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def endTurn(): Unit

    Ends the current turn.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. var roundId: Int
  19. def setupTurns(turnInformation: List[(String, String)], round: Int): Unit

    Given an ordered list of characters and the starting round, setts the round information and starts the first turn.

    Given an ordered list of characters and the starting round, setts the round information and starts the first turn.

    turnInformation

    the ordered list of characters

    round

    the starting round

  20. def startNewRound(): Unit

    Start a new round.

  21. def startTurn(): Unit

    Starts a new turn.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. var turns: List[Character]
  25. def updateTeamsStatuses(newStatuses: Map[CharacterKey, Status]): Unit

    Given a map of characters and their new statuses, updates the current status of each character.

    Given a map of characters and their new statuses, updates the current status of each character.

    newStatuses

    the map that couples each character with his new status (if changed)

  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped