model.status
Members list
Type members
Classlikes
An immutable implementation of model.status.StatusBuilder
An immutable implementation of model.status.StatusBuilder
Value parameters
- amount
-
the amount of cards each player should have while the stack is non-empty, initially set to 0.
- defended
-
a list of all currently defended cards, initially set to Nil
- denied
-
whether the player with the turn model.turn.FirstlyAttacking denied his attack, initially set to false
- passed
-
the player who initially passed cards of the same rank to the next player, initially set to None
- players
-
a list of all players, initially set to Nil
- stack
-
a list of all cards, representing the stack, initially set to Nil
- trump
-
an Option containing the trump. The trump is the last element on the stack, initially set to None.
- turn
-
the current turn, initially set model.Turn.Uninitialized
- undefended
-
a list of all currently undefended cards, initially set to Nil
- used
-
a list of all currently cards used to defend, initially set to Nil
Attributes
- Supertypes
A mutable implementation of model.status.StatusBuilder
A mutable implementation of model.status.StatusBuilder
Value parameters
- amount
-
the amount of cards each player should have while the stack is non-empty, initially set to 0.
- defended
-
a list of all currently defended cards, initially set to Nil
- denied
-
whether the player with the turn model.turn.FirstlyAttacking denied his attack, initially set to false
- passed
-
the player who initially passed cards of the same rank to the next player, initially set to None
- players
-
a list of all players, initially set to Nil
- stack
-
a list of all cards, representing the stack, initially set to Nil
- trump
-
an Option containing the trump. The trump is the last element on the stack, initially set to None.
- turn
-
the current turn, initially set model.Turn.Uninitialized
- undefended
-
a list of all currently undefended cards, initially set to Nil
- used
-
a list of all currently cards used to defend, initially set to Nil
Attributes
- Supertypes
Contains the current status of the game.
Contains the current status of the game.
Value parameters
- amount
-
the amount of cards each player should have while the stack is non-empty, initially set to 0.
- defended
-
a list of all currently defended cards, initially set to Nil
- denied
-
whether the player with the turn model.turn.FirstlyAttacking denied his attack, initially set to false
- passed
-
the player who initially passed cards of the same rank to the next player, initially set to None
- players
-
a list of all players, initially set to Nil
- stack
-
a list of all cards, representing the stack, initially set to Nil
- trump
-
an Option containing the trump. The trump is the last element on the stack, initially set to None.
- turn
-
the current turn, initially set model.Turn.Uninitialized
- undefended
-
a list of all currently undefended cards, initially set to Nil
- used
-
a list of all currently cards used to defend, initially set to Nil
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A builder for model.status.Status
A builder for model.status.Status
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ImmutableStatusBuilderclass MutableStatusBuilder