Exemple #1
0
func NewFightRoom() *FightRoom {
	room := &FightRoom{
		"pvp",
		net.NewGroup(),
	}
	return room
}
Exemple #2
0
func init() {
	nodes = myNet.NewGroup()
}
Exemple #3
0
func init() {
	group = net.NewGroup()
}
Exemple #4
0
func init() {
	clients = clawNet.NewGroup()
}