protected override void LoadContent(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.GraphicFactory factory) { this.GraphicInfo = GraphicInfo; basicEffect = factory.GetBasicEffect(); basicEffect.TextureEnabled = true; spriteBatch = factory.GetSpriteBatch(); base.LoadContent(GraphicInfo, factory); }
protected override void LoadContent(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.GraphicFactory factory) { this.GraphicInfo = GraphicInfo; basicEffect = factory.GetBasicEffect(); basicEffect.TextureEnabled = true; basicEffect.VertexColorEnabled = true; spriteBatch = factory.GetSpriteBatch(); SpriteFont = factory.GetAsset <SpriteFont>("ConsoleFont", true); base.LoadContent(GraphicInfo, factory); }