Ejemplo n.º 1
0
 private void InitWithFallBack()
 {
     _tile = _map.SafeGet(Name);
     if (_tile == null)
     {
         _tile = _fallBack;
     }
 }
Ejemplo n.º 2
0
 public void UnkownTileShouldReturnNullThrowhSafeGet()
 {
     var ts = new TilesMap();
     Assert.IsNull(ts.SafeGet("?"));
 }
Ejemplo n.º 3
0
        public void UnkownTileShouldReturnNullThrowhSafeGet()
        {
            var ts = new TilesMap();

            Assert.IsNull(ts.SafeGet("?"));
        }