コード例 #1
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Viande(string nom, double prix, KebabIngredient ingredient)
     : base("Viande " + nom, 1.00f + prix, ingredient)
 {
 }
コード例 #2
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Salade(string nom, double prix, KebabIngredient ingredient)
     : base("Salade " + nom, 0.50f + prix, ingredient)
 {
 }
コード例 #3
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Viande(KebabIngredient ingredient) : base("Viande", 1.00f, ingredient)
 {
 }
コード例 #4
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public KebabDecorator(string unNom, double prix, KebabIngredient ingredient)
     : base(unNom, prix)
 {
     Ingredients = ingredient;
 }
コード例 #5
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Salade(KebabIngredient ingredient) : base("Salade", 0.50f, ingredient)
 {
 }
コード例 #6
0
 public override void AjouterIngredientPrincipal()
 {
     Kebab = new Viande(Kebab);
 }
コード例 #7
0
 public override void AjouterGarnitures()
 {
     Kebab = new Salade(Kebab);
 }
コード例 #8
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Salade(KebabIngredient ingredient)
     : base("Salade", 0.50f,ingredient)
 {
 }
コード例 #9
0
 public override void AjouterBasePain()
 {
     Kebab = new Pain();
 }
コード例 #10
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Viande(string nom, double prix, KebabIngredient ingredient)
     : base("Viande " + nom, 1.00f + prix,ingredient)
 {
 }
コード例 #11
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public KebabDecorator(string unNom, double prix, KebabIngredient ingredient)
     : base(unNom, prix)
 {
     Ingredients = ingredient;
 }
コード例 #12
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Viande(KebabIngredient ingredient)
     : base("Viande", 1.00f, ingredient)
 {
 }
コード例 #13
0
ファイル: Kebab.cs プロジェクト: tibow91/MetaSimulatorConsole
 public Salade(string nom, double prix,KebabIngredient ingredient)
     : base("Salade " + nom, 0.50f + prix,ingredient)
 {
 }
コード例 #14
0
 public override void AjouterIngredientPrincipal()
 {
     Kebab = new Viande(Kebab);
 }
コード例 #15
0
 public override void AjouterGarnitures()
 {
     Kebab = new Salade(Kebab);
 }
コード例 #16
0
 public override void AjouterBasePain()
 {
     Kebab = new Pain();
 }