case class Status(healthPoints: Int, manaPoints: Int, maxHealthPoints: Int, maxManaPoints: Int, modifiers: Map[Modifier, Int], alterations: Map[Alteration, Int]) extends Product with Serializable
Represents the current status of a character.
- healthPoints
the current health points of a character. Health points must be non negative and not higher than max health points.
- manaPoints
the current mana points of a character. Mana points must be non negative and not higher than max mana points.
- maxHealthPoints
the maximum health points that a character can have
- maxManaPoints
the maximum mana points that a character can have
- modifiers
the current modifiers that alter the character's statistics
- alterations
the current alterations that affects the character's behaviour
- Alphabetic
- By Inheritance
- Status
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Status(healthPoints: Int, manaPoints: Int, maxHealthPoints: Int, maxManaPoints: Int, modifiers: Map[Modifier, Int], alterations: Map[Alteration, Int])
- healthPoints
the current health points of a character. Health points must be non negative and not higher than max health points.
- manaPoints
the current mana points of a character. Mana points must be non negative and not higher than max mana points.
- maxHealthPoints
the maximum health points that a character can have
- maxManaPoints
the maximum mana points that a character can have
- modifiers
the current modifiers that alter the character's statistics
- alterations
the current alterations that affects the character's behaviour
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 alterations: Map[Alteration, Int]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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()
- val healthPoints: Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val manaPoints: Int
- val maxHealthPoints: Int
- val maxManaPoints: Int
- val modifiers: Map[Modifier, Int]
-
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()
-
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( ... )