Ejemplo n.º 1
0
func init() {
	game.RegisterAbility("nitro", makeNitro)
	gob.Register(&nitro{})
}
Ejemplo n.º 2
0
func init() {
	game.RegisterAbility("pull", makePull)
	gob.Register(&pull{})
}
Ejemplo n.º 3
0
func init() {
	game.RegisterAbility("spawnCreeps", makeSpawnCreeps)
	gob.Register(&spawnCreeps{})
}
Ejemplo n.º 4
0
func init() {
	game.RegisterAbility("lightning", makeLightning)
	gob.Register(&lightning{})
}
Ejemplo n.º 5
0
func init() {
	game.RegisterAbility("mine", makePlaceMine)
	gob.Register(&placeMine{})
}
Ejemplo n.º 6
0
func init() {
	game.RegisterAbility("fire", makeFire)
	gob.Register(&fire{})
}
Ejemplo n.º 7
0
func init() {
	game.RegisterAbility("cloak", makeCloak)
	gob.Register(&cloak{})
}
Ejemplo n.º 8
0
func init() {
	game.RegisterAbility("asplode", makeAsplode)
	gob.Register(&asplode{})
}