blob: 70fe268099d1fabd9a4100fb168d61ad91b786b6 (
plain)
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
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Aktywator
{
abstract public class Tournament
{
public const int TYPE_PARY = 1;
public const int TYPE_TEAMY = 2;
public const int TYPE_UNKNOWN = 0;
protected string _name;
public string name
{
get { return _name; }
}
protected int _type; // 0-unknown, 1-Pary, 2-Teamy
public int type
{
get { return _type; }
}
abstract internal void setup();
abstract internal string getName();
abstract public string getSectionsNum();
abstract public string getTablesNum();
abstract internal string getTypeLabel();
virtual internal Dictionary<int, List<string>> getNameList()
{
return new Dictionary<int, List<string>>();
}
}
}
|