Esempio n. 1
0

        
Esempio n. 2
0
 public void Init(ContentManager content, string strBackground, string strHuman, string strMap)
 {
     if (strBackground != null && strBackground != "")
     {
         _background = content.Load <Texture2D>(strBackground);
     }
     _imgCoin = content.Load <Texture2D>("Images\\Maps\\Tile08");
     _imgIcon = content.Load <Texture2D>("Images\\Characters\\icon24");
     _human   = new Human();
     if (strHuman != null && strHuman != "")
     {
         _human.Init(content, strHuman);
     }
     if (strMap != null && strMap != "")
     {
         _map = new MapWithCells(content, strMap);
     }
 }