Пример #1
0
 public void CheckSetting_AllTileEnumHaveData()
 {
     foreach (Tile t in Enum.GetValues(typeof(Tile)))
     {
         Assert.IsNotNull(_setting.GetData(t));
     }
 }
Пример #2
0
 protected override TileData GetData(TileEntity entity)
 {
     return(_setting.GetData(entity.tile.Type));
 }