32 lines
670 B
Java
32 lines
670 B
Java
package projectzombie.entity;
|
|
|
|
import projectzombie.display.Camera;
|
|
import projectzombie.init.Textures;
|
|
import projectzombie.util.gl.texture.TextureReference;
|
|
import projectzombie.util.math.vec.Vec2d;
|
|
|
|
public class EntityZombieArmored extends EntityZombie
|
|
{
|
|
|
|
|
|
public EntityZombieArmored(Vec2d pos) {
|
|
super(pos);
|
|
this.health_max *= 5;
|
|
this.health = this.health_max;
|
|
this.gun_level = 3;
|
|
|
|
this.crossUnWalkable = true;
|
|
}
|
|
|
|
@Override
|
|
public void render(Vec2d pos, Camera camera, TextureReference tex, Vec2d size) {
|
|
super.render(pos, camera, Textures.ENTITY_ZOMBIE_ARMORED, new Vec2d(1, 1));
|
|
}
|
|
|
|
@Override
|
|
public int bloodParticles() {
|
|
return 2;
|
|
}
|
|
|
|
}
|