src/FingersDance.ActionFactory/ActionFactory.cs
author cavaliet
Fri, 16 Oct 2009 15:56:09 +0200
changeset 160 e940ca798fe3
parent 156 e16c8c913c65
permissions -rw-r--r--
Enhance color factory and send the current project (data) to the timeline instance in order to build the project's cutting's annotation list.

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;
        }
    }
}