src/FingersDance.ActionFactory/ActionFactory.cs
author cavaliet
Tue, 24 Nov 2009 22:08:57 +0100
changeset 229 05aba5def1fc
parent 156 e16c8c913c65
permissions -rw-r--r--
add an attribute Color to a Cutting, save it in ldt xml file and redisplay it in the pivot's button. Make ColorFactory truly static.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FingersDance.Factory
{
    public class ActionFactory
    {
        private static ActionGenerator _Factory;

        public ActionFactory()
        { }

        public ActionGenerator GetGenerator()
        {
            if (_Factory == null)
            {
                _Factory = new ActionGenerator();
            }
            return _Factory;
        }
    }
}