case class Thief(characterName: String, owner: Option[String], statistics: Statistics, specialMoves: Map[String, SpecialMove], classMultipliers: ClassMultipliers = ..., role: String = ThiefRepresentation) extends Character with Product with Serializable
Defines a character of class Thief
- 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 thief fighting class
- role
the character's fighting class
- Alphabetic
- By Inheritance
- Thief
- Serializable
- Serializable
- Product
- Equals
- Character
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Thief(characterName: String, owner: Option[String], statistics: Statistics, specialMoves: Map[String, SpecialMove], classMultipliers: ClassMultipliers = ..., role: String = ThiefRepresentation)
- 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 thief fighting class
- role
the character's fighting class
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val characterName: String
-
val
classMultipliers: ClassMultipliers
The character's statistic multipliers, specific to its role
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
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
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
def
magicalDefence: Int
Calculates the character's magical defence
Calculates the character's magical defence
- returns
the character's magical defence
- Definition Classes
- Character
-
def
magicalPower: Int
Calculates the character's magical power
Calculates the character's magical power
- returns
the character's magical power
- Definition Classes
- Character
-
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()
-
val
owner: Option[String]
The player owning the character
-
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
-
def
physicalDamage: Int
Calculates the character's physical damage
Calculates the character's physical damage
- returns
the character's physical damage
- Definition Classes
- Character
-
def
physicalDefence: Int
Calculates the character's physical defence
Calculates the character's physical defence
- returns
the character's physical defence
- Definition Classes
- Character
-
val
role: String
The character's fighting class
-
val
specialMoves: Map[String, SpecialMove]
The character's special moves
-
def
speed: Int
Calculates the character's speed
-
val
statistics: Statistics
The character's statistics
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )