Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using Jypeli; |
---|
4 | using Jypeli.Assets; |
---|
5 | using Jypeli.Controls; |
---|
6 | using Jypeli.Effects; |
---|
7 | using Jypeli.Widgets; |
---|
8 | |
---|
9 | public class ProtoLevel |
---|
10 | { |
---|
11 | Proto236b parent; |
---|
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; } } |
---|
16 | private string backgroundId; |
---|
17 | public string BackgroundId { get { return backgroundId; } set { backgroundId = value; } } |
---|
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) |
---|
21 | { |
---|
22 | this.backgroundId = backgroundId; |
---|
23 | this.parent = parent; |
---|
24 | this.id = id; |
---|
25 | this.tileMapSrc = "graphics/levels/" + id; |
---|
26 | this.isPlanet = isPlanet; |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.