Изменены DrawninObject и IDrawningObject
This commit is contained in:
parent
d533dd8a04
commit
0c626b2cb3
@ -31,5 +31,8 @@ namespace ProjectLocomotive
|
|||||||
// TODO
|
// TODO
|
||||||
_loc.DrawTransport(g);
|
_loc.DrawTransport(g);
|
||||||
}
|
}
|
||||||
|
public string getInfo() => _loc?.getDataForSave();
|
||||||
|
|
||||||
|
public static IDrawningObject Create(string data) => new DrawningObject(data.createDrawningLocomotive());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,8 @@ namespace ProjectLocomotive
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
(float Left, float Right, float Top, float Bottom) GetCurrentPosition();
|
(float Left, float Right, float Top, float Bottom) GetCurrentPosition();
|
||||||
|
// Получение информации по объекту
|
||||||
|
string getInfo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user