axle
.
game
.
poker
PokerState
case class
PokerState
(
playerFn: (
PokerState
) ⇒
PokerPlayer
,
deck:
Deck
,
shared:
IndexedSeq
[
Card
]
,
numShown:
Int
,
hands:
Map
[
PokerPlayer
,
Seq
[
Card
]]
,
pot:
Int
,
currentBet:
Int
,
stillIn:
Set
[
PokerPlayer
]
,
inFors:
Map
[
PokerPlayer
,
Int
]
,
piles:
Map
[
PokerPlayer
,
Int
]
,
_outcome:
Option
[
PokerOutcome
]
,
_eventQueues:
Map
[
PokerPlayer
,
List
[
Event
[
Poker
]]]
)
(
implicit
game:
Poker
)
extends
State
[
Poker
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
State
[
Poker
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
PokerState
Serializable
Serializable
Product
Equals
State
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
PokerState
(
playerFn: (
PokerState
) ⇒
PokerPlayer
,
deck:
Deck
,
shared:
IndexedSeq
[
Card
]
,
numShown:
Int
,
hands:
Map
[
PokerPlayer
,
Seq
[
Card
]]
,
pot:
Int
,
currentBet:
Int
,
stillIn:
Set
[
PokerPlayer
]
,
inFors:
Map
[
PokerPlayer
,
Int
]
,
piles:
Map
[
PokerPlayer
,
Int
]
,
_outcome:
Option
[
PokerOutcome
]
,
_eventQueues:
Map
[
PokerPlayer
,
List
[
Event
[
Poker
]]]
)
(
implicit
game:
Poker
)
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
_eventQueues
:
Map
[
PokerPlayer
,
List
[
Event
[
Poker
]]]
val
_outcome
:
Option
[
PokerOutcome
]
lazy val
_player
:
PokerPlayer
def
apply
(
move:
PokerMove
)
:
Option
[
PokerState
]
Definition Classes
PokerState
→ State
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
betterAfter
(
before:
PokerPlayer
)
:
Option
[
PokerPlayer
]
val
bigBlind
:
Int
def
broadcast
[
E <:
Event
[
Poker
]
]
(
players:
Set
[
PLAYER
]
,
event:
E
)
:
STATE
Definition Classes
State
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
currentBet
:
Int
val
deck
:
Deck
def
displayEvents
(
players:
Set
[
PLAYER
]
)
:
STATE
Definition Classes
State
def
displayTo
(
viewer:
PokerPlayer
)
:
String
Definition Classes
PokerState
→ State
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
eventQueues
:
Map
[
PokerPlayer
,
List
[
Event
[
Poker
]]]
Definition Classes
PokerState
→ State
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
firstBetter
:
PokerPlayer
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
hands
:
Map
[
PokerPlayer
,
Seq
[
Card
]]
val
inFors
:
Map
[
PokerPlayer
,
Int
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
moves
:
Seq
[
PokerMove
]
Definition Classes
PokerState
→ State
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
numShown
:
Int
def
outcome
:
Option
[
PokerOutcome
]
Definition Classes
PokerState
→ State
val
piles
:
Map
[
PokerPlayer
,
Int
]
def
player
:
PokerPlayer
Definition Classes
PokerState
→ State
val
playerFn
: (
PokerState
) ⇒
PokerPlayer
val
pot
:
Int
def
setEventQueues
(
qs:
Map
[
PokerPlayer
,
List
[
Event
[
Poker
]]]
)
:
PokerState
Definition Classes
PokerState
→ State
val
shared
:
IndexedSeq
[
Card
]
val
smallBlind
:
Int
val
stillIn
:
Set
[
PokerPlayer
]
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
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
State
[
Poker
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped