public Logic( IGraphProvider graphProvider, IBitmapProvider bitmapProvider, Log logger, Commands commands, ConnectionData connectionData) { GraphProvider = graphProvider; Bitmap = bitmapProvider.Bitmap; Logger = logger; Commands = commands; bitmapProvider.ShowBitmap(); graphProvider.ShowGraph(); _groundSprite = BitmapLoader.Load(SolutionDirectory.Get(@"Images\Shooter\Tiles\tile_05.png"), 16, 16); _waterSprite = BitmapLoader.Load(SolutionDirectory.Get(@"Images\Shooter\Tiles\tile_19.png"), 16, 16); _treeSprite = BitmapLoader.Load(SolutionDirectory.Get(@"Images\Shooter\Tiles\tile_183.png"), 16, 16); Commands.Login(connectionData.Host, connectionData.Port, connectionData.UserName, connectionData.Password); Logger.LogCommands = true; }