Changeset 6434 for 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora_mitja.cs
- Timestamp:
- 2015-06-26 09:48:53 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora_mitja.cs
r6433 r6434 105 105 void LuoJouniBoss(Vector luomisPaikka, double pysahtymisX) 106 106 { 107 controlsActive = false; 108 107 109 Elava jouni = new Elava(jouniBoss, 5.0); // 10000 108 110 jouni.Kuoli += JouniDefeated; … … 139 141 void ActivateJouni(Elava jouni) 140 142 { 143 controlsActive = true; 144 141 145 jouni.Animation = jounibossArrive; 142 146 jouni.Animation.Start(1); … … 148 152 149 153 AssaultRifle jouninAse = new AssaultRifle(20, 10); 150 jouninAse.IsVisible = true;154 jouninAse.IsVisible = false; 151 155 jouninAse.InfiniteAmmo = true; 152 156 jouninAse.Power.Value = 200.0; … … 154 158 jouninAse.Tag = "jouninase"; 155 159 Add(jouninAse); 156 jouninAse.Position = jouni.Position + new Vector(jouni.Width / 4, -25);160 jouninAse.Position = jouni.Position + new Vector(jouni.Width / 3, -25); 157 161 currentBossWeapon = jouninAse; 158 162 159 163 Timer ampumisAjastin = new Timer(); 160 ampumisAjastin.Interval = 0. 5;164 ampumisAjastin.Interval = 0.75; 161 165 ampumisAjastin.Timeout += delegate 162 166 {
Note: See TracChangeset
for help on using the changeset viewer.