Changeset 6799
- Timestamp:
- 2015-07-03 12:25:36 (8 years ago)
- Location:
- 2015/27/MiroS/Raiskintapeli
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/27/MiroS/Raiskintapeli/Raiskintapeli/Raiskintapeli/TankkiPeli.cs
r6780 r6799 28 28 Level.Height = Screen.Height; 29 29 30 tankkienLkm = tankkienLkm * vaikeusaste; 30 31 //Level.CreateBorders(); 31 32 LuoKentta(kentanNimi); … … 157 158 void LuoMappi(int vaikeusaste) 158 159 { 159 for (int i = 0; i < tankkienLkm * vaikeusaste; i++)160 for (int i = 0; i < tankkienLkm; i++) 160 161 { 161 162 LuoVihulainen(); 162 163 } 163 164 164 this.tuhotutTankit = new IntMeter(0, 0, vaikeusaste * 1);165 this.tuhotutTankit = new IntMeter(0, 0, tankkienLkm); 165 166 166 167 //this.tuhotutTankit.UpperLimit += delegate { … … 169 170 // Begin(); 170 171 //}; 171 172 tuhotutTankit.AddTrigger(vaikeusaste * (tankkienLkm - 1), TriggerDirection.Up, delegate (int arvo) { 172 tuhotutTankit.UpperLimit += delegate { 173 173 SeuraavaKentta(); 174 174 vaikeusaste++; 175 175 Begin(); 176 } );176 }; 177 177 } 178 178 void SeuraavaKentta() … … 182 182 kentanNimi = "kentta2"; 183 183 } 184 else if (kentanNimi == "kentta2")185 {186 kentanNimi = "kentta3";187 }188 184 else 189 185 { 190 186 Exit(); 187 191 188 } 192 189 } … … 233 230 234 231 235 Level.Background.Color = Color. Orange;232 Level.Background.Color = Color.Black; 236 233 237 234 -
2015/27/MiroS/Raiskintapeli/Raiskintapeli/Raiskintapeli/obj/x86/Debug/ContentPipeline-{81739508-248F-43AA-A768-73E659A05863}.xml
r6780 r6799 45 45 <Options>None</Options> 46 46 <Output>C:\MyTemp\MiroS\Raiskintapeli\Raiskintapeli\Raiskintapeli\bin\x86\Debug\Content\kentta1.xnb</Output> 47 <Time>2015-07-0 2T14:34:55.6913156+03:00</Time>47 <Time>2015-07-03T12:05:10.4867553+03:00</Time> 48 48 </Item> 49 49 <Item> … … 54 54 <Options>None</Options> 55 55 <Output>C:\MyTemp\MiroS\Raiskintapeli\Raiskintapeli\Raiskintapeli\bin\x86\Debug\Content\Kentta2.xnb</Output> 56 <Time>2015-07-03T1 0:50:40.6513553+03:00</Time>56 <Time>2015-07-03T12:24:11.3233553+03:00</Time> 57 57 </Item> 58 58 <BuildSuccessful>true</BuildSuccessful>
Note: See TracChangeset
for help on using the changeset viewer.