Class: Termfront::Enemy::Executor
- Inherits:
-
Base
- Object
- Base
- Termfront::Enemy::Executor
show all
- Defined in:
- lib/termfront/enemy/executor.rb
Constant Summary
Constants inherited
from Base
Base::DIFFICULTIES
Instance Attribute Summary
Attributes inherited from Base
#alive, #hp, #last_fire, #max_hp, #wp_a, #wp_b, #wp_dir, #wp_t, #x, #y
Instance Method Summary
collapse
Methods inherited from Base
build, #dead?, generate_extras, #initialize, #patrol, register, registry, #take_damage, #update
Instance Method Details
#base_hp ⇒ Object
13
|
# File 'lib/termfront/enemy/executor.rb', line 13
def base_hp = 2
|
#cooldown ⇒ Object
8
|
# File 'lib/termfront/enemy/executor.rb', line 8
def cooldown = 2.5
|
#damage ⇒ Object
6
|
# File 'lib/termfront/enemy/executor.rb', line 6
def damage = 25
|
#drop_ammo ⇒ Object
11
|
# File 'lib/termfront/enemy/executor.rb', line 11
def drop_ammo = 100
|
#drop_type ⇒ Object
10
|
# File 'lib/termfront/enemy/executor.rb', line 10
def drop_type = :shock_rifle
|
#range ⇒ Object
7
|
# File 'lib/termfront/enemy/executor.rb', line 7
def range = 8.0
|
#speed ⇒ Object
9
|
# File 'lib/termfront/enemy/executor.rb', line 9
def speed = 1.2
|
#sprite_id ⇒ Object
12
|
# File 'lib/termfront/enemy/executor.rb', line 12
def sprite_id = :executor
|