예제 #1
0
        public IUpdating Create(GameObject target, IClassicHandlable dest, IClassicHandlable source)
        {
            DisplayUpdater updater = new DisplayUpdater();

            updater.Start  = source;
            updater.Finish = dest;
            updater.Target = target;
            return(updater);
        }
예제 #2
0
        public static DisplayUpdater Create(GameObject target, IClassicHandlable dest, IClassicHandlable source)
        {
            DisplayUpdater updater = Pool <DisplayUpdater> .Pop();

            updater.Start  = source;
            updater.Finish = dest;
            updater.Target = target;
            return(updater);
        }