Exemple #1
0
 public HUD(SpriteBatch _sprite, Texture2D _spritesTex, 
     Texture2D _nullTex,
     Character[] _character,
     Map _map)
 {
     sprite = _sprite;
     spritesTex = _spritesTex;
     character = _character;
     map = _map;
     nullTex = _nullTex;
     scoreDraw = new ScoreDraw(sprite, spritesTex);
 }
Exemple #2
0
 public HUD(SpriteBatch _sprite, Texture2D _spritesTex,
            Texture2D _nullTex,
            Character[] _character,
            Map _map)
 {
     sprite     = _sprite;
     spritesTex = _spritesTex;
     character  = _character;
     map        = _map;
     nullTex    = _nullTex;
     scoreDraw  = new ScoreDraw(sprite, spritesTex);
 }