Files
MonoGame.Extended/source/MonoGame.Extended.Tiled/TiledMapProperties.cs
T
2024-05-18 19:59:41 -04:00

15 lines
405 B
C#

using System.Collections.Generic;
namespace MonoGame.Extended.Tiled
{
public class TiledMapProperties : Dictionary<string, TiledMapPropertyValue>
{
public bool TryGetValue(string key, out string value)
{
bool result = TryGetValue(key, out TiledMapPropertyValue tmpVal);
value = result ? null : tmpVal.Value;
return result;
}
}
}