Exemple #1
0
 public MultiPlayerViewModel()
 {
     db       = 0;
     players  = new List <Gamer>();
     chars    = CharacterGen.GetCharacters();
     selected = chars[db];
     jumpk    = Key.Up;
     leftk    = Key.Left;
     rightk   = Key.Right;
     buf      = Key.Space;
 }
 public SinglePlayerViewModel()
 {
     db       = 0;                            //alap karakter
     chars    = CharacterGen.GetCharacters(); //karakterek lekérése
     selected = chars[db];                    //kiválasztott karakter
 }