Exemplo n.º 1
0
func init() {
	game.RegisterActionMakers(registerSummonActions)
	gob.Register(&SummonAction{})
	gob.Register(&summonExec{})
}
Exemplo n.º 2
0
func init() {
	game.RegisterActionMakers(registerMoves)
	gob.Register(&Move{})
	gob.Register(&moveExec{})
}
Exemplo n.º 3
0
func init() {
	game.RegisterActionMakers(registerAoeAttacks)
	gob.Register(&AoeAttack{})
	gob.Register(&aoeExec{})
}
Exemplo n.º 4
0
func init() {
	game.RegisterActionMakers(registerInteracts)
	gob.Register(&Interact{})
	gob.Register(&interactExec{})
}