Esempio n. 1
0
 private static void init()
 {
     sv          = new Spielverwaltung();
     JuntaHub.sv = sv;
     sv._hub     = new JuntaHub(sv);
     sv.deck     = new Deck();
     sv.spieler  = new List <Spieler>();
 }
Esempio n. 2
0
 public JuntaHub(Spielverwaltung svs)
 {
     sv      = svs;
     context = GlobalHost.ConnectionManager.GetHubContext <JuntaHub>();
 }
Esempio n. 3
0
 //Konstruktor NICHT FERTIG!!!
 public Spieler(int flotten, int punkte, bool imperator, Planet planet, Hand hand, Spielverwaltung sv)
 {
     Kampfmodifikator = 0;
     this.flotten     = flotten;
     this.punkte      = punkte;
     this.imperator   = imperator;
     this.planet      = planet;
     this.hand        = hand;
     this.sv          = sv;
     ID = ++spielerCount;
 }