Exemple #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;
 }
Exemple #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);
 }