Changeset 9193


Ignore:
Timestamp:
2017-07-28 11:18:54 (6 years ago)
Author:
sieerinn
Message:
 
Location:
2017/utsjoki/TorstiK
Files:
4 added
7 edited

Legend:

Unmodified
Added
Removed
  • 2017/utsjoki/TorstiK/GreatMonsters/GreatMonsters/GreatMonsters/GreatMonsters.cs

    r9161 r9193  
    4545    public override void Begin() 
    4646    { 
     47 
     48 
    4749        ClearAll(); 
    4850         
     
    6567    { 
    6668        valittu = kuva; 
     69 
     70        if (kenttaNro == 3) 
     71        { 
     72            Label läpäisy = new Label("Läpäisit pelin!"); 
     73            Add(läpäisy); 
     74            Timer.SingleShot(4, delegate { 
     75                lopetaPeli(); 
     76            }); 
     77            return; 
     78        } 
    6779 
    6880        ClearAll(); 
     
    7789        Camera.StayInLevel = true; 
    7890    } 
    79  
     91    void lopetaPeli() 
     92    { 
     93 
     94       Exit(); 
     95       return; 
     96 
     97    } 
    8098    void LuoPistelaskuri() 
    8199    { 
     
    109127    void LuoKentta() 
    110128    { 
    111  
     129        
    112130        TileMap kentta = TileMap.FromLevelAsset("kentta" + kenttaNro); 
    113131        kentta.SetTileMethod('#', LisaaTaso); 
     
    293311        { 
    294312            kenttaNro += 1; 
    295             Begin(); 
     313            
     314            //Begin(); 
     315            AloitaPeli(valittu); 
    296316        } 
    297317    } 
  • 2017/utsjoki/TorstiK/GreatMonsters/GreatMonsters/GreatMonsters/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r9161 r9193  
    135135      <Options>None</Options> 
    136136      <Output>C:\MyTemp\GreatMonsters\GreatMonsters\GreatMonsters\bin\x86\Debug\Content\kentta2.xnb</Output> 
    137       <Time>2017-07-27T10:11:28.4859672+03:00</Time> 
     137      <Time>2017-07-28T10:59:58.5982286+03:00</Time> 
    138138    </Item> 
    139139    <Item> 
Note: See TracChangeset for help on using the changeset viewer.