mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 04:26:04 +03:00
Remove .Model namespace as it is unnecessary
This commit is contained in:
parent
8a1da18dfd
commit
d85494e7a9
98 changed files with 111 additions and 170 deletions
|
@ -35,7 +35,7 @@ namespace DotTiled.Benchmark
|
|||
|
||||
[BenchmarkCategory("MapFromInMemoryTmxString")]
|
||||
[Benchmark(Baseline = true, Description = "DotTiled")]
|
||||
public DotTiled.Model.Map LoadWithDotTiledFromInMemoryTmxString()
|
||||
public DotTiled.Map LoadWithDotTiledFromInMemoryTmxString()
|
||||
{
|
||||
using var stringReader = new StringReader(_tmxContents);
|
||||
using var xmlReader = XmlReader.Create(stringReader);
|
||||
|
@ -45,7 +45,7 @@ namespace DotTiled.Benchmark
|
|||
|
||||
[BenchmarkCategory("MapFromInMemoryTmjString")]
|
||||
[Benchmark(Baseline = true, Description = "DotTiled")]
|
||||
public DotTiled.Model.Map LoadWithDotTiledFromInMemoryTmjString()
|
||||
public DotTiled.Map LoadWithDotTiledFromInMemoryTmjString()
|
||||
{
|
||||
using var mapReader = new DotTiled.Serialization.Tmj.TmjMapReader(_tmjContents, _ => throw new NotSupportedException(), _ => throw new NotSupportedException(), _ => throw new NotSupportedException());
|
||||
return mapReader.ReadMap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue