Class SlotEngine.SpinResult
java.lang.Object
com.csse3200.game.components.slot.SlotEngine.SpinResult
- Enclosing class:
SlotEngine
Immutable object representing the result of a spin.
-
Constructor Details
-
SpinResult
Construct a spin result.- Parameters:
reels
- a 3-length array with values in [0..7]effect
- the triggered effect (null if none)
-
-
Method Details