Ejemplo n.º 1
0
 public SpriteFontWithSeed(int fontsize, Sprite sprite ,string baseseed,TextureMgr tmgr, string texpath)
 {
     this.fontsize = fontsize;
     this.baseseed = baseseed;
     this.sprite = sprite;
     this.tmgr = tmgr;
     this.texpath = texpath;
 }
Ejemplo n.º 2
0
 public void Init(GraphicsDevice gdevice, ContentManager content, IGameState first,object tag)
 {
     apptag = tag;
     GraphicsDevice = gdevice;
     spritebatch = new SpriteBatch(gdevice);
     tmgr = new TextureMgr();
     tmgr.Init(gdevice, content);
     //scene = new Scene.Scene();
     ChangeState(first);
 }