source: 2014/27/AleksanteriV/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/ProtoLevel.cs @ 5396

Revision 5396, 948 bytes checked in by mijoilmo, 6 years ago (diff)
RevLine 
[5311]1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class ProtoLevel
10{
[5325]11    Proto236b parent;
[5311]12    private String tileMapSrc;
13    public String TileMapSrc { get { return tileMapSrc; } set { tileMapSrc = value; } }
14    private bool isPlanet;
15    public bool IsPlanet { get { return isPlanet; } set { isPlanet = value; } }
[5395]16    private string backgroundId;
17    public string BackgroundId { get { return backgroundId; } set { backgroundId = value; } }
[5396]18    private string id;
19    public string Id { get { return id; } set { id = value; } }
20    public ProtoLevel(Proto236b parent, string id, bool isPlanet, string backgroundId)
[5325]21    {
[5395]22        this.backgroundId = backgroundId;
[5325]23        this.parent = parent;
[5396]24        this.id = id;
25        this.tileMapSrc = "graphics/levels/" + id;
[5311]26        this.isPlanet = isPlanet;
27    }
28}
Note: See TracBrowser for help on using the repository browser.