fix path
This commit is contained in:
parent
ce95630cc6
commit
73d4c02191
2 changed files with 11 additions and 3 deletions
|
|
@ -6,7 +6,15 @@ internal record Coordinate
|
|||
public string Name { get; }
|
||||
public int Row { get; }
|
||||
public int Col { get; }
|
||||
public string Path => BasePath + Name + ".png";
|
||||
|
||||
public string FullPath
|
||||
{
|
||||
get
|
||||
{
|
||||
string filename = Name + ".png";
|
||||
return Path.Combine(BasePath, filename);
|
||||
}
|
||||
}
|
||||
|
||||
public Coordinate(string name)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue