public AGSDialogFactory(Resolver resolver, IGameState gameState, IUIFactory ui, IObjectFactory obj, IBrushLoader brushloader, IFontLoader fontLoader) { _resolver = resolver; _brushLoader = brushloader; _fontLoader = fontLoader; _gameState = gameState; _ui = ui; _object = obj; }
public AGSDialogFactory(Resolver resolver, IGameState gameState, IUIFactory ui, IObjectFactory obj, IBrushLoader brushloader, IFontFactory fontLoader, IDialogSettings defaults) { _resolver = resolver; _brushLoader = brushloader; _fontLoader = fontLoader; _gameState = gameState; _ui = ui; _object = obj; _defaults = defaults; }
public GLGraphicsFactory(Dictionary <string, ITexture> textures, Resolver resolver, IGLUtils glUtils, IGraphicsBackend graphics, IBitmapLoader bitmapLoader, IRenderThread renderThread, IResourceLoader resources, IIconFactory icons, IBrushLoader brushes, IRenderMessagePump messagePump) { Icons = icons; Brushes = brushes; _renderThread = renderThread; _textures = textures; _resolver = resolver; _resources = resources; _bitmapLoader = bitmapLoader; _spriteSheetLoader = new SpriteSheetLoader(_resources, _bitmapLoader, addAnimationFrame, loadImage, graphics, messagePump); AGSGameSettings.CurrentSkin = new AGSBlueSkin(this, glUtils).CreateSkin(); }
public GLGraphicsFactory(ITextureCache textures, Resolver resolver, IGraphicsBackend graphics, IBitmapLoader bitmapLoader, IRenderThread renderThread, IResourceLoader resources, IIconFactory icons, IBrushLoader brushes, IRenderMessagePump messagePump, IGameSettings settings, IBorderFactory borders) { Icons = icons; Brushes = brushes; Borders = borders; _renderThread = renderThread; _textures = textures; _resolver = resolver; _resources = resources; _bitmapLoader = bitmapLoader; _spriteSheetLoader = new SpriteSheetLoader(_resources, _bitmapLoader, addAnimationFrame, loadImage, graphics, messagePump); settings.Defaults.Skin = new AGSBlueSkin(this).CreateSkin(); }