Add some ToString overrides to improve debug experience.
This commit is contained in:
committed by
Paul Chote
parent
3a020e96fe
commit
4cc33b2871
@@ -67,6 +67,11 @@ namespace OpenRA
|
||||
bottomRight = mapBottomRight;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{TopLeft}->{BottomRight}";
|
||||
}
|
||||
|
||||
public MapCoordsEnumerator GetEnumerator()
|
||||
{
|
||||
return new MapCoordsEnumerator(this);
|
||||
|
||||
Reference in New Issue
Block a user