Search
Preparing search index...
The search index is not available
preferans-engine-js - v0.0.11
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"prefRound"
PrefRound
Class PrefRound
Hierarchy
PrefRound
Index
Constructors
constructor
Properties
_bidding
_contract
_current
Stage
_deal
_decision
_engine
_kontring
_left
Follower
Player
_main
Player
_p1
_p2
_p3
_playing
_reject
_right
Follower
Player
Accessors
contract
followers
Tricks
is
Betl
main
Tricks
ppn
stage
status
Methods
bidding
contracting
deciding
exchanging
kontring
throw
Constructors
constructor
new
Pref
Round
(
engine
:
PrefGame
)
:
PrefRound
Parameters
engine:
PrefGame
Returns
PrefRound
Properties
Private
_bidding
_bidding
:
PrefStageBidding
Private
_contract
_contract
:
EPrefContract
Private
_current
Stage
_current
Stage
:
EPrefStage
Private
_deal
_deal
:
PrefDeckDeal
Private
_decision
_decision
:
PrefStageDeciding
Protected
_engine
_engine
:
PrefGame
Private
_kontring
_kontring
:
PrefStageKontra
Private
_left
Follower
Player
_left
Follower
Player
:
PrefPlayer
Private
_main
Player
_main
Player
:
PrefPlayer
Private
_p1
_p1
:
PrefPlayer
Private
_p2
_p2
:
PrefPlayer
Private
_p3
_p3
:
PrefPlayer
Private
_playing
_playing
:
PrefStagePlaying
Private
_reject
_reject
:
PrefRoundDiscarded
|
null
= null
Private
_right
Follower
Player
_right
Follower
Player
:
PrefPlayer
Accessors
contract
get
contract
(
)
:
EPrefContract
set
contract
(
contract
:
EPrefContract
)
:
void
Returns
EPrefContract
Parameters
contract:
EPrefContract
Returns
void
followers
Tricks
get
followersTricks
(
)
:
number
Returns
number
is
Betl
get
isBetl
(
)
:
boolean
Returns
boolean
main
Tricks
get
mainTricks
(
)
:
number
Returns
number
ppn
get
ppn
(
)
:
string
Returns
string
stage
get
stage
(
)
:
EPrefStage
set
stage
(
stage
:
EPrefStage
)
:
void
Returns
EPrefStage
Parameters
stage:
EPrefStage
Returns
void
status
get
status
(
)
:
PrefRoundStatus
Returns
PrefRoundStatus
Methods
bidding
bidding
(
player
:
PrefPlayer
, bid
:
EPrefBid
)
:
PrefRound
Parameters
player:
PrefPlayer
bid:
EPrefBid
Returns
PrefRound
contracting
contracting
(
player
:
PrefPlayer
, contract
:
EPrefContract
)
:
PrefRound
Parameters
player:
PrefPlayer
contract:
EPrefContract
Returns
PrefRound
deciding
deciding
(
player
:
PrefPlayer
, follows
:
boolean
)
:
PrefRound
Parameters
player:
PrefPlayer
follows:
boolean
Returns
PrefRound
exchanging
exchanging
(
player
:
PrefPlayer
, discard1
:
PrefDeckCard
, discard2
:
PrefDeckCard
)
:
PrefRound
Parameters
player:
PrefPlayer
discard1:
PrefDeckCard
discard2:
PrefDeckCard
Returns
PrefRound
kontring
kontring
(
player
:
PrefPlayer
, kontra
:
EPrefKontra
)
:
PrefRound
Parameters
player:
PrefPlayer
kontra:
EPrefKontra
Returns
PrefRound
throw
throw
(
player
:
PrefPlayer
, card
:
PrefDeckCard
)
:
PrefRound
Parameters
player:
PrefPlayer
card:
PrefDeckCard
Returns
PrefRound
Globals
"
Pref
Game
Enums"
"pref
Game"
"pref
Hand
Check"
"pref
Player"
"pref
Round"
"pref
Trick"
"stage/pref
Stage"
"stage/pref
Stage
Bidding"
"stage/pref
Stage
Deciding"
"stage/pref
Stage
Kontra"
"stage/pref
Stage
Playing"
Pref
Round
constructor
_bidding
_contract
_current
Stage
_deal
_decision
_engine
_kontring
_left
Follower
Player
_main
Player
_p1
_p2
_p3
_playing
_reject
_right
Follower
Player
contract
followers
Tricks
is
Betl
main
Tricks
ppn
stage
status
bidding
contracting
deciding
exchanging
kontring
throw
Pref
Round
Discarded
Pref
Round
Status
is
Betl
is
Left
First
is
Preferans
is
Sans
Generated using
TypeDoc