mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-29 20:12:40 +00:00
voila
This commit is contained in:
35
Online Gokkantoor/LogicLayer/Keuze.cs
Normal file
35
Online Gokkantoor/LogicLayer/Keuze.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using DataLaag.Interfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static DataLaag.Enums;
|
||||
|
||||
namespace LogicLayer
|
||||
{
|
||||
public class Keuze : IFKeuze
|
||||
{
|
||||
|
||||
public int match_ID { get; set; }
|
||||
public int speler_ID { get; set; }
|
||||
public double inzet { get; set; }
|
||||
public Gokken gok { get; set; } // thuis uit of gelijk
|
||||
|
||||
public Keuze(int match_ID, int speler_ID, double inzet, Gokken gok)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.match_ID = match_ID;
|
||||
this.speler_ID = speler_ID;
|
||||
this.inzet = inzet;
|
||||
this.gok = gok;
|
||||
|
||||
} catch (Exception e)
|
||||
{
|
||||
throw new Exception("keuze is niet gelukt:" + e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user