protected override void LoadContent(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.GraphicFactory factory)
 {
     basicEffect = factory.GetBasicEffect();
     basicEffect.TextureEnabled = true;
     spriteBatch = factory.GetSpriteBatch();
     base.LoadContent(GraphicInfo, factory);
 }
Esempio n. 2
0
 public override void Initialize(PloobsEngine.Engine.GraphicInfo ginfo, PloobsEngine.Engine.GraphicFactory factory, PloobsEngine.SceneControl.IObject obj)
 {
     this.ginfo = ginfo;
     spriteBatch = factory.GetSpriteBatch();
     basicEffect = factory.GetBasicEffect();
     basicEffect.TextureEnabled = true;
     base.Initialize(ginfo, factory, obj);
 }
 protected override void LoadContent(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.GraphicFactory factory)
 {
     SpriteFont = factory.GetAsset<SpriteFont>("ConsoleFont", true);
     basicEffect = factory.GetBasicEffect();
     basicEffect.TextureEnabled = true;
     basicEffect.VertexColorEnabled = true;
     spriteBatch = factory.GetSpriteBatch();
     base.LoadContent(GraphicInfo, factory);
 }