Store in GIT
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pannenkoekenhuis.State
|
||||
{
|
||||
class Klant
|
||||
{
|
||||
State state;
|
||||
|
||||
public Klant()
|
||||
{
|
||||
state = new WaitingState();
|
||||
}
|
||||
|
||||
public void BrengBestelling()
|
||||
{
|
||||
state = state.BrengBestelling();
|
||||
Console.WriteLine(state);
|
||||
}
|
||||
|
||||
public void BrengMenuKaart()
|
||||
{
|
||||
state = state.BrengMenuKaart();
|
||||
Console.WriteLine(state);
|
||||
}
|
||||
|
||||
public void BrengRekening()
|
||||
{
|
||||
state = state.BrengRekening();
|
||||
Console.WriteLine(state);
|
||||
}
|
||||
|
||||
public void DeelWensMee()
|
||||
{
|
||||
state = state.DeelWensMee();
|
||||
Console.WriteLine(state);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user