Class: Termfront::Mission::TheGauntlet
- Defined in:
- lib/termfront/mission/the_gauntlet.rb
Instance Method Summary collapse
- #briefing ⇒ Object
- #enemy_defs ⇒ Object
- #map_data ⇒ Object
- #name ⇒ Object
- #spawn ⇒ Object
- #weapon_defs ⇒ Object
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/the_gauntlet.rb', line 7 def briefing = "A long corridor with enemies in every room." |
#enemy_defs ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/termfront/mission/the_gauntlet.rb', line 25 def enemy_defs [ [4.5, 2.5, 4.5, 5.5, :crawler], [8.5, 5.5, 8.5, 2.5, :crawler], [14.5, 2.5, 14.5, 5.5, :crawler], [20.5, 5.5, 20.5, 2.5, :crawler], [26.5, 2.5, 26.5, 5.5, :crawler] ] end |
#map_data ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/termfront/mission/the_gauntlet.rb', line 9 def map_data [ "##############################", "#.....#.....#.....#.....#....#", "#.....#.....#.....#.....#....#", "#...........*...........*....#", "#.....#.....#.....#.....#....#", "#.....#.....#.....#.....#....#", "#.....#.....#.....#.....#....#", "##############################" ] end |
#name ⇒ Object
6 |
# File 'lib/termfront/mission/the_gauntlet.rb', line 6 def name = "The Gauntlet" |
#spawn ⇒ Object
22 |
# File 'lib/termfront/mission/the_gauntlet.rb', line 22 def spawn = [2.5, 3.5, 0.0] |
#weapon_defs ⇒ Object
23 |
# File 'lib/termfront/mission/the_gauntlet.rb', line 23 def weapon_defs = [[:ar, 60], [:pistol, nil]] |