Class: Termfront::Mission::TrainingGrounds
- Inherits:
-
Base
- Object
- Base
- Termfront::Mission::TrainingGrounds
show all
- Defined in:
- lib/termfront/mission/training_grounds.rb
Instance Method Summary
collapse
Methods inherited from Base
#build_enemies, #build_map, #build_terminals, #build_weapons, campaign, #event_definitions, #events_path, #id, register, register_wavesfight, wavesfight
Instance Method Details
#briefing ⇒ Object
7
|
# File 'lib/termfront/mission/training_grounds.rb', line 7
def briefing = "Clear a small compound. Learn the basics."
|
#enemy_defs ⇒ Object
27
28
29
30
31
32
|
# File 'lib/termfront/mission/training_grounds.rb', line 27
def enemy_defs
[
[10.5, 3.5, 10.5, 6.5, :crawler],
[13.5, 7.5, 13.5, 2.5, :crawler]
]
end
|
#map_data ⇒ Object
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/termfront/mission/training_grounds.rb', line 9
def map_data
[
"################",
"#..............#",
"#..............#",
"#......##......#",
"#......##......#",
"#..............#",
"#..............#",
"#..............#",
"#..............#",
"################"
]
end
|
#name ⇒ Object
6
|
# File 'lib/termfront/mission/training_grounds.rb', line 6
def name = "Training Grounds"
|
#spawn ⇒ Object
24
|
# File 'lib/termfront/mission/training_grounds.rb', line 24
def spawn = [2.5, 5.0, 0.0]
|
#weapon_defs ⇒ Object
25
|
# File 'lib/termfront/mission/training_grounds.rb', line 25
def weapon_defs = [[:pistol, nil]]
|