Files

16 lines
331 B
JavaScript
Raw Permalink Normal View History

2021-09-13 09:34:08 +02:00
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);
}
}