示例#1
0
func init() {
	game.RegisterActionMakers(registerSummonActions)
	gob.Register(&SummonAction{})
	gob.Register(&summonExec{})
}
示例#2
0
文件: move.go 项目: hilerchyn/haunts
func init() {
	game.RegisterActionMakers(registerMoves)
	gob.Register(&Move{})
	gob.Register(&moveExec{})
}
示例#3
0
func init() {
	game.RegisterActionMakers(registerAoeAttacks)
	gob.Register(&AoeAttack{})
	gob.Register(&aoeExec{})
}
示例#4
0
func init() {
	game.RegisterActionMakers(registerInteracts)
	gob.Register(&Interact{})
	gob.Register(&interactExec{})
}