示例#1
0
func NewFightRoom() *FightRoom {
	room := &FightRoom{
		"pvp",
		net.NewGroup(),
	}
	return room
}
示例#2
0
文件: node.go 项目: KittyCookie/claw
func init() {
	nodes = myNet.NewGroup()
}
示例#3
0
文件: hall.go 项目: princehuang/card
func init() {
	group = net.NewGroup()
}
示例#4
0
func init() {
	clients = clawNet.NewGroup()
}