Ejemplo n.º 1
0
 public EmoteRenderer(ICharacterRenderProperties renderProperties,
                      ISpriteSheet emoteSheet,
                      IPubFile <EIFRecord> itemFile)
 {
     _renderProperties             = renderProperties;
     _emoteSheet                   = emoteSheet;
     _skinRenderLocationCalculator = new SkinRenderLocationCalculator(_renderProperties, itemFile);
 }
Ejemplo n.º 2
0
        public SkinRenderer(ICharacterRenderProperties renderProperties,
                            ISpriteSheet skinSheet)
            : base(renderProperties)
        {
            _skinSheet = skinSheet;

            _skinRenderLocationCalculator = new SkinRenderLocationCalculator(_renderProperties);
        }