public XnaRenderer(GraphicsDevice graphicsDevice, ContentManager content, GraphicsDeviceManager graphics, BaseClient client) { Client = client; this.graphicsDevice = graphicsDevice; this.content = content; this.graphics = graphics; assetCache = new XnaAssetCache(content, client); layers = new List <XnaLayer>(); }