Esempio n. 1
0
 /// <summary>
 /// Konstruktor bezparametrowy
 /// </summary>
 public Player()
 {
     KeyboardSettings = new Settings.KeySettings();
     AudioSettings = new Settings.AudioSettings();
     IntelligenceLevel = 1;
     //inicializacja wszytkich pol na 0
 }
Esempio n. 2
0
 /// <summary>
 /// Konstruktor bezparametrowy - ustawienia domyślne
 /// </summary>
 public Player()
 {
     this.IntelligenceLevel = 1;
     KeyboardSettings = new Settings.KeySettings();
     AudioSettings = new Settings.AudioSettings();
     DifficultyLevel = 1;
     this.CheckIntelligence = false;
 }
Esempio n. 3
0
 /// <summary>
 /// Konstruktor bezparametrowy - ustawienia domyślne
 /// </summary>
 public Player()
 {
     this.IntelligenceLevel = 1;
     KeyboardSettings       = new Settings.KeySettings();
     AudioSettings          = new Settings.AudioSettings();
     DifficultyLevel        = 1;
     this.CheckIntelligence = false;
 }
Esempio n. 4
0
 /// <summary>
 /// Konstruktor z przypisaniem wszytkich pól na 0 (oprócz nazwy)
 /// </summary>
 /// <param name="name">Nazwa gracza</param>
 public Player(string name)
 {
     KeyboardSettings = new Settings.KeySettings();
     AudioSettings = new Settings.AudioSettings();
     this.Name = name;
     this.Points = 0;
     this.Rackets = 0;
     this.Dynamite = 0;
     this.IntelligenceLevel = 1;
 }
Esempio n. 5
0
 /// <summary>
 /// Konstruktor z przypisaniem wszytkich pól na 0 (oprócz nazwy)
 /// </summary>
 /// <param name="name">Nazwa gracza</param>
 public Player(string name)
 {
     KeyboardSettings       = new Settings.KeySettings();
     AudioSettings          = new Settings.AudioSettings();
     this.IntelligenceLevel = 1;
     this.Name              = name;
     this.Points            = 0;
     this.Rackets           = 0;
     this.Dynamite          = 0;
     this.DifficultyLevel   = 1;
     this.CheckIntelligence = false;
 }