Esempio n. 1
0
 public void AddCategory(Category c)
 {
     Category[] cats = new Category[categoryField.Length+1];
     categoryField.CopyTo(cats, 0);
     cats[cats.Length-1] = c;
     categoryField = cats;
 }
Esempio n. 2
0
 public Board()
 {
     categoryField = new Category[6];
     for (int i = 0; i < 6; i++)
         categoryField[i] = new Category();
     pointValuesField = new float[] { 100F, 200F, 300F, 400F, 500F };
 }