Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameStartFactory ¶
type GameStartFactory struct {
// contains filtered or unexported fields
}
func (*GameStartFactory) StartNewGame ¶
func (gamestartfactory *GameStartFactory) StartNewGame( tonpuOrHanchan toh.TonpuOrHanchan, tonchaid pid.PlayerId, nanchaid pid.PlayerId, shachaid pid.PlayerId, pechaid pid.PlayerId, ) ( *gs.GameStatus, *sb.ScoreBoard, error, )
type GameStartIFactory ¶
type GameStartIFactory interface { StartNewGame( tonpuOrHanchan toh.TonpuOrHanchan, tonchaid pid.PlayerId, nanchaid pid.PlayerId, shachaid pid.PlayerId, pechaid pid.PlayerId, ) (*gs.GameStatus, *sb.ScoreBoard, error) }
func NewGameStartFactory ¶
func NewGameStartFactory( grepo gs.GameStatusIRepo, srepo sb.ScoreBoardIRepo, ) (GameStartIFactory, error)
Click to show internal directories.
Click to hide internal directories.