예제 #1
0
 public Boolean addconcession(voulnteer vol)
 {
     if (concession == null)
     {
         concession = vol;
         return(true);
     }
     return(false);
 }
예제 #2
0
 public Boolean addAdmissions(voulnteer vol)
 {
     if (admissions == null)
     {
         admissions = vol;
         return(true);
     }
     return(false);
 }
예제 #3
0
 public Boolean addScoreKeeper(voulnteer vol)
 {
     if (scoreKeep == null)
     {
         scoreKeep = vol;
         return(true);
     }
     return(false);
 }
예제 #4
0
 public game(DateTime dt, voulnteer rOne, voulnteer rTwo, voulnteer sK, voulnteer a, voulnteer c) 

 {
     dateTime   = dt;
     refOne     = rOne;
     refTwo     = rTwo;
     scoreKeep  = sK;
     admissions = a;
     concession = c;
 }
예제 #5
0
 public Boolean addRef(voulnteer vol)
 {
     if (refOne == null)
     {
         refOne = vol;
         return(true);
     }
     else
     {
         refTwo = vol;
         return(true);
     }
 }