示例#1
0
 /// <summary>
 /// Konstruktor bezparametrowy
 /// </summary>
 public Player()
 {
     KeyboardSettings = new Settings.KeySettings();
     AudioSettings = new Settings.AudioSettings();
     IntelligenceLevel = 1;
     //inicializacja wszytkich pol na 0
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }