Ignore:
Timestamp:
2014-07-03 21:24:16 (5 years ago)
Author:
mijoilmo
Message:

Optimoitu levelin kopioimista. Lisätty basic !space leveli

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2014/27/AleksanteriV/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/ProtoLevel.cs

    r5325 r5395  
    1414    private bool isPlanet; 
    1515    public bool IsPlanet { get { return isPlanet; } set { isPlanet = value; } } 
    16     public ProtoLevel(Proto236b parent, string src, bool isPlanet) 
     16    private string backgroundId; 
     17    public string BackgroundId { get { return backgroundId; } set { backgroundId = value; } } 
     18    public ProtoLevel(Proto236b parent, string src, bool isPlanet, string backgroundId) 
    1719    { 
     20        this.backgroundId = backgroundId; 
    1821        this.parent = parent; 
    19         this.tileMapSrc = src; 
     22        this.tileMapSrc = "graphics/levels/" + src; 
    2023        this.isPlanet = isPlanet; 
    2124    } 
Note: See TracChangeset for help on using the changeset viewer.