Files
q1k3/source/entity_enemy_enforcer.js
Dominic Szablewski a844ba46f8 Initial
2021-09-13 10:09:54 +02:00

16 lines
331 B
JavaScript

class entity_enemy_enforcer_t extends entity_enemy_t {
_init(patrol_dir) {
super._init(patrol_dir);
this._model = model_enforcer;
this._texture = 19;
this._health = 80;
this.s = vec3(14,44,14);
}
_attack() {
this._play_sound(sfx_plasma_shoot);
this._spawn_projectile(entity_projectile_plasma_t, 800, 0, 0);
}
}