case class Dice extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Dice
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextDouble: Double
- def nextInt(bound: Int): Int
- def nextK(roll: DRoll): Int
- def nextNormal(standardDeviation: Double, expectedValue: Double): (Double, Double)
- def nextSingleNormal(standardDeviation: Double, expectedValue: Double): Double
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def oneOf[A](ax: Seq[A]): Option[A]
- def rollChanceMap[A](thingWithChance: Map[A, Int]): (Dice, A)
- def rollDouble: (Dice, Double)
- def rollInt(bound: Int): (Dice, Int)
- def rollIntMaxValue: (Dice, Int)
-
def
rollK(roll: DRoll): (Dice, Int)
2k10 means two rolls with dice which results in 1-10
- def rollNormal(standardDeviation: Double, expectedValue: Double): (Dice, (Double, Double))
- def rollOneOf[A](ax: Seq[A]): Option[(Dice, A)]
- def rollSingleNormal(standardDeviation: Double, expectedValue: Double): (Dice, Double)
- val state: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
unsafeOneOf[A](ax: Seq[A]): A
- Annotations
- @deprecated
- Deprecated
unsafe
-
def
unsafeRollOneOf[A](ax: Seq[A]): (Dice, A)
- Annotations
- @deprecated
- Deprecated
unsafe