You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
365 B
Go
20 lines
365 B
Go
package live_logic
|
|
|
|
import (
|
|
pbRoom "dcg/game/pb/room"
|
|
"dcg/game/svc"
|
|
)
|
|
|
|
type TestGameLogic struct {
|
|
svcCtx *svc.ServiceContext
|
|
*LiveGameLogic
|
|
}
|
|
|
|
func NewTestLiveGameLogic(svcCtx *svc.ServiceContext) *LiveGameLogic {
|
|
resp := &TestGameLogic{
|
|
svcCtx: svcCtx,
|
|
LiveGameLogic: NewLiveGameLogic(pbRoom.GameType_TEST, nil),
|
|
}
|
|
return resp.LiveGameLogic
|
|
}
|