object Round
Provides the functionality to manage the initialization and termination of each round.
- Alphabetic
- By Inheritance
- Round
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val PhysicalAttackRepresentation: String
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
endTurn(): Unit
Ends the current turn.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var roundId: Int
-
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
-
def
startNewRound(): Unit
Start a new round.
-
def
startTurn(): Unit
Starts a new turn.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- var turns: List[Character]
-
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)
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )