Class: Termfront::Mission::FinalPush
- Defined in:
- lib/termfront/mission/final_push.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/final_push.rb', line 7 def briefing = "Storm the fortress. Maximum resistance. Good luck." |
#enemy_defs ⇒ Object
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/termfront/mission/final_push.rb', line 29 def enemy_defs [ [8.5, 2.5, 8.5, 5.5, :executor], [4.5, 9.5, 4.5, 8.5, :crawler], [10.5, 9.5, 10.5, 8.5, :crawler], [18.5, 2.5, 18.5, 5.5, :executor], [22.5, 8.5, 22.5, 10.5, :executor], [16.5, 9.5, 16.5, 8.5, :crawler] ] end |
#map_data ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/termfront/mission/final_push.rb', line 9 def map_data [ "##########################", "#............#...........#", "#............#...........#", "#............#...........#", "#...........*............#", "#............#...........#", "#............#..####..####", "####..########..#........#", "#...............#........#", "#...........*...#........#", "#...............#........#", "##########################" ] end |
#name ⇒ Object
6 |
# File 'lib/termfront/mission/final_push.rb', line 6 def name = "Final Push" |
#spawn ⇒ Object
26 |
# File 'lib/termfront/mission/final_push.rb', line 26 def spawn = [2.5, 2.5, 0.0] |
#weapon_defs ⇒ Object
27 |
# File 'lib/termfront/mission/final_push.rb', line 27 def weapon_defs = [[:ar, 60], [:pistol, nil]] |