Ignore:
Timestamp:
2015-07-01 23:19:51 (6 years ago)
Author:
empaheik
Message:

Kakkoskentässä kojootteja.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs

    r6714 r6715  
    4141        level.Execute(); 
    4242 
    43         Level.CreateBorders(false); 
     43       // Level.CreateBorders(false); 
    4444 
    4545        Level.Background.Color = Color.Black; 
     
    285285 
    286286        bool create = properties.ContainsKey("block"); 
    287         if(create) 
     287        if(create && !woodDestroyed) 
    288288        { 
    289289            PhysicsObject fence = PhysicsObject.CreateStaticObject(TILE_SIZE, TILE_SIZE); 
     
    295295            { 
    296296               destroyable.Destroy(); 
    297                destroyable.Tag = "none"; 
     297               woodDestroyed = true; 
    298298            }); 
    299299         
Note: See TracChangeset for help on using the changeset viewer.