diff --git a/Sources/BowlingLib/Model/Frame.cs b/Sources/BowlingLib/Model/Frame.cs index 6e4d5e8..d740431 100644 --- a/Sources/BowlingLib/Model/Frame.cs +++ b/Sources/BowlingLib/Model/Frame.cs @@ -116,6 +116,10 @@ namespace BowlingLib.Model } private Lancer lancer3; + /// + /// Constructeur destiné à Initialisé un Frame + /// + /// public Frame(int numero) { this.Numero = numero; @@ -126,25 +130,27 @@ namespace BowlingLib.Model this.QuillesTombees = 0; } - public Frame(int numero, long id, int quillesRestantes, int quillesTombees, bool isStrike, bool isSpare, bool isPark, bool isFinished, Lancer lancer1, Lancer lancer2, Lancer? lancer3) : this(numero) + /// + /// Constructeur destiné à la récupération des données en base + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public Frame(int numero, long id, bool isStrike, bool isSpare, bool isPark, bool isFinished, Lancer lancer1, Lancer lancer2, Lancer? lancer3) : this(numero) { this.id = id; - QuillesRestantes = quillesRestantes; - this.quillesRestantes = quillesRestantes; - QuillesTombees = quillesTombees; - this.quillesTombees = quillesTombees; IsStrike = isStrike; - this.isStrike = isStrike; IsSpare = isSpare; - this.isPark = isPark; IsFinished = isFinished; - this.isFinished = isFinished; Lancer1 = lancer1; - this.lancer1 = lancer1; Lancer2 = lancer2; - this.lancer2 = lancer2; Lancer3 = lancer3; - this.lancer3 = lancer3; } ///