45 lines
913 B
C#
45 lines
913 B
C#
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);
|
|
}
|
|
|
|
}
|
|
}
|