trait Character extends AnyRef

Defines the general implementation of a game character

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

Abstract Value Members

  1. abstract val characterName: String
  2. abstract val classMultipliers: ClassMultipliers

    The character's statistic multipliers, specific to its role

  3. abstract val owner: Option[String]

    The player owning the character

  4. abstract val role: String

    The character's fighting class

  5. abstract val specialMoves: Map[String, SpecialMove]

    The character's special moves

  6. abstract val statistics: Statistics

    The character's statistics

Concrete 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. def criticalChance: Int

    Calculates the character's critical strike chance

    Calculates the character's critical strike chance

    returns

    the character's critical strike chance

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    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

  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

  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

  16. def magicalDefence: Int

    Calculates the character's magical defence

    Calculates the character's magical defence

    returns

    the character's magical defence

  17. def magicalPower: Int

    Calculates the character's magical power

    Calculates the character's magical power

    returns

    the character's magical power

  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. 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

  22. def physicalDamage: Int

    Calculates the character's physical damage

    Calculates the character's physical damage

    returns

    the character's physical damage

  23. def physicalDefence: Int

    Calculates the character's physical defence

    Calculates the character's physical defence

    returns

    the character's physical defence

  24. def speed: Int

    Calculates the character's speed

    Calculates the character's speed

    returns

    the character's speed

  25. val status: Status

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

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped