-
Notifications
You must be signed in to change notification settings - Fork 0
/
TDMapTabData.cs
42 lines (38 loc) · 1.01 KB
/
TDMapTabData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace TowerDefense
{
public class TDMapTabData
{
public enum TDMapTabTypes
{
Template,
Data,
Path
}
public string Name;
public int Level;
public TDMapTabTypes Type = TDMapTabTypes.Path;
public DataTable Table;
public TDMapTabData(string tableName, int level, TDMapTabTypes Type, DataTable Table)
{
this.Name = tableName;
this.Level = level;
this.Table = Table;
this.Type = Type;
}
public class ColumnNames
{
public const int Name = 0;
public const int BackColor = 1;
public const int BackImage = 2;
public const int PathColor = 3;
public const int PathImage = 4;
public const int BaseColor = 5;
public const int BaseImage = 6;
}
}
}