func pc(icon gfx.ImageSpec, health int) spawnFunc { return spawnFunc(func(w *world.World) entity.Entity { return mob.NewPC(w, mob.Spec{Icon: icon, MaxHealth: health}) }) }
func genPC(w *world.World) entity.Entity { return mob.NewPC(w, mob.Spec{Icon: util.SmallIcon(util.Chars, 16), MaxHealth: 6}) }