c

model

Wizard

case class Wizard(characterName: String, owner: Option[String], statistics: Statistics, specialMoves: Map[String, SpecialMove], classMultipliers: ClassMultipliers = ..., role: String = WizardRepresentation) extends Character with Product with Serializable

Defines a character of class Wizard

characterName

the character's name

owner

the optional character's owner

statistics

the character's statistics

specialMoves

the character's special moves

classMultipliers

the default statistic multipliers for the wizard fighting class

role

the character's fighting class

Linear Supertypes
Serializable, Serializable, Product, Equals, Character, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Wizard
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Character
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Wizard(characterName: String, owner: Option[String], statistics: Statistics, specialMoves: Map[String, SpecialMove], classMultipliers: ClassMultipliers = ..., role: String = WizardRepresentation)

    characterName

    the character's name

    owner

    the optional character's owner

    statistics

    the character's statistics

    specialMoves

    the character's special moves

    classMultipliers

    the default statistic multipliers for the wizard fighting class

    role

    the character's fighting class

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. val characterName: String
    Definition Classes
    WizardCharacter
  6. val classMultipliers: ClassMultipliers

    The character's statistic multipliers, specific to its role

    The character's statistic multipliers, specific to its role

    Definition Classes
    WizardCharacter
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def criticalChance: Int

    Calculates the character's critical strike chance

    Calculates the character's critical strike chance

    returns

    the character's critical strike chance

    Definition Classes
    Character
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def isAlive: Boolean

    Check if the character is alive

    Check if the character is alive

    returns

    true if the character is alive of false if it's dead

    Definition Classes
    Character
  13. def isIncapacitated: Boolean

    Check if the character is incapacitated

    Check if the character is incapacitated

    returns

    true if the character is stunned or asleep

    Definition Classes
    Character
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def magicalCriticalPower: Int

    Calculates the character's bonus magical critical strike power

    Calculates the character's bonus magical critical strike power

    returns

    the character's magical critical strike power

    Definition Classes
    Character
  16. def magicalDefence: Int

    Calculates the character's magical defence

    Calculates the character's magical defence

    returns

    the character's magical defence

    Definition Classes
    Character
  17. def magicalPower: Int

    Calculates the character's magical power

    Calculates the character's magical power

    returns

    the character's magical power

    Definition Classes
    Character
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val owner: Option[String]

    The player owning the character

    The player owning the character

    Definition Classes
    WizardCharacter
  22. def physicalCriticalDamage: Int

    Calculates the character's bonus physical critical strike damage

    Calculates the character's bonus physical critical strike damage

    returns

    the character's physical critical strike damage

    Definition Classes
    Character
  23. def physicalDamage: Int

    Calculates the character's physical damage

    Calculates the character's physical damage

    returns

    the character's physical damage

    Definition Classes
    Character
  24. def physicalDefence: Int

    Calculates the character's physical defence

    Calculates the character's physical defence

    returns

    the character's physical defence

    Definition Classes
    Character
  25. val role: String

    The character's fighting class

    The character's fighting class

    Definition Classes
    WizardCharacter
  26. val specialMoves: Map[String, SpecialMove]

    The character's special moves

    The character's special moves

    Definition Classes
    WizardCharacter
  27. def speed: Int

    Calculates the character's speed

    Calculates the character's speed

    returns

    the character's speed

    Definition Classes
    Character
  28. val statistics: Statistics

    The character's statistics

    The character's statistics

    Definition Classes
    WizardCharacter
  29. val status: Status

    Contains the character's status, depending on current HP and MP values and current modifiers and afflictions

    Contains the character's status, depending on current HP and MP values and current modifiers and afflictions

    Definition Classes
    Character
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Character

Inherited from AnyRef

Inherited from Any

Ungrouped