Exemplo n.º 1
0
 public void addKiller(string dbdID, string steamID)
 {
     if (killer == null)
     {
         Console.WriteLine("Adding new killer: " + dbdID + "|" + steamID);
         killer      = new Killer(dbdID, steamID, getUserFromId(steamID));
         killer.data = dataHandler.getData(killer.steamID);
     }
     else
     {
         Console.WriteLine("Something went wrong - tried to add a killer but there already was one?");
     }
 }
Exemplo n.º 2
0
 public Game()
 {
     killer    = null;
     survivors = new Survivor[4];
 }