package projectzombie.items.spawner;

import gl_engine.vec.Vec3d;
import projectzombie.entity.EntityZombie;
import projectzombie.init.Models;
import projectzombie.items.ItemSpawn;
import projectzombie.model.ModelItem;
import projectzombie.util.ItemStack;
import projectzombie.world.chunk.Chunk;
import projectzombie.world.layer.Layer;

public class ItemSpawnZombie extends ItemSpawn
{

	@Override
	public ModelItem getModel(ItemStack stack) {
		return Models.ITEM_SPAWN_ZOMBIE;
	}
	
	@Override
	public void spawnEntity(Layer layer, Vec3d pos, Vec3d velocity) {
		layer.spawnEntity(new EntityZombie(pos, velocity));
	}
	
	@Override
	public String getName(ItemStack stack) {
		return "Spawn Zombie";
	}

}
