Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunExample ¶
func RunExample()
RunExample actually executes the example; typically this would be just called main() and the package would be main
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
Game typically goes in a different file and is your implementation of cos.Game
func (*Game) OnDisconnected ¶
func (g *Game) OnDisconnected()
func (*Game) OnReceiveMessage ¶
Click to show internal directories.
Click to hide internal directories.