case class SpecialMove(name: String, moveType: MoveType, moveEffect: (Attacker, Target) ⇒ NewTargetStatus, manaCost: Int, maxTargets: Int) extends Move with Product with Serializable
A special move.
- name
the move name
- moveType
the move type
- moveEffect
the move effect
- manaCost
how many mana points the attacker must spend to make the move
- maxTargets
how many targets can be hit at once
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SpecialMove
- Serializable
- Serializable
- Product
- Equals
- Move
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SpecialMove(name: String, moveType: MoveType, moveEffect: (Attacker, Target) ⇒ NewTargetStatus, manaCost: Int, maxTargets: Int)
- name
the move name
- moveType
the move type
- moveEffect
the move effect
- manaCost
how many mana points the attacker must spend to make the move
- maxTargets
how many targets can be hit at once
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
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
manaCost: Int
- Definition Classes
- SpecialMove → Move
-
val
maxTargets: Int
- Definition Classes
- SpecialMove → Move
-
val
moveEffect: (Attacker, Target) ⇒ NewTargetStatus
- Definition Classes
- SpecialMove → Move
-
val
moveType: MoveType
- Definition Classes
- SpecialMove → Move
- val name: String
-
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( ... )