Exemplo n.º 1
0
        public override Entity FactoryMethod(Resources resources, Vector2 position)
        {
            IPlayerBuilder builder = new PlayerBuilder(resources, position);

            director.Construct(builder);
            return(builder.GetResult());
        }