1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| using System;
|
| namespace TowerDefense.Game
| {
| /// <summary>
| /// A calss to save level data
| /// </summary>
| [Serializable]
| public class LevelSaveData
| {
| public string id;
| public int numberOfStars;
|
| public LevelSaveData(string levelId, int numberOfStarsEarned)
| {
| id = levelId;
| numberOfStars = numberOfStarsEarned;
| }
| }
| }
|
|