public Tile(Level l, int id, TileData data) { ID = id; level = l; Data = new TileData(data); }
public TileData(TileData data) { Color = data.Color; IsWalkable = data.IsWalkable; IsObscuring = data.IsObscuring; Character = data.Character; Type = data.Type; Name = (String)data.Name.Clone(); }