﻿using StatePattern;

namespace StatePatternClient
{
    class Program
    {
        static void Main(string[] args)
        {
            var order = new Order();
            order.AddBook("The Hobbit");
            order.AddBook("Lord of the Rings");
            order.AddBook("The Two Towers");
            order.AddBook("Silmarillion");
            order.AddBook("Return of the King");
            order.GiftWrapOrder(); // Optional

            order.SubmitOrder();

            order.GiftWrapOrder(); // Optional

            order.SetDeliveryDetails();

            //order.GiftWrapOrder();
            //order.SubmitOrder();

            order.Ship();
        }
    }
}
