Небольшие правки карты
This commit is contained in:
parent
76c854f6c2
commit
a9903ae47b
@ -19,9 +19,6 @@ namespace AirplaneWithRadar
|
|||||||
protected override void DrawBarrierPart(Graphics g, int i, int j)
|
protected override void DrawBarrierPart(Graphics g, int i, int j)
|
||||||
{
|
{
|
||||||
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, _size_x, _size_y);
|
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, _size_x, _size_y);
|
||||||
//g.DrawLine(barrierColor, i * _size_x, j * _size_y, i * _size_x + _size_x, j * _size_y + (1 / 3) * _size_y);
|
|
||||||
//g.DrawLine(barrierColor, i * _size_x + _size_x, j * _size_y + (1 / 3) * _size_y, i * _size_x, j * _size_y + (2 * 3) * _size_y);
|
|
||||||
//g.DrawLine(barrierColor, i * _size_x, j * _size_y + 2 * _size_y, i * _size_x + _size_x, j * _size_y + 3 * _size_y);
|
|
||||||
}
|
}
|
||||||
protected override void DrawRoadPart(Graphics g, int i, int j)
|
protected override void DrawRoadPart(Graphics g, int i, int j)
|
||||||
{
|
{
|
||||||
|
@ -22,11 +22,11 @@ namespace AirplaneWithRadar
|
|||||||
|
|
||||||
protected override void DrawBarrierPart(Graphics g, int i, int j)
|
protected override void DrawBarrierPart(Graphics g, int i, int j)
|
||||||
{
|
{
|
||||||
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, i * (_size_x + 1), j * (_size_y + 1));
|
g.FillRectangle(barrierColor, i * _size_x, j * _size_y, _size_x, _size_y);
|
||||||
}
|
}
|
||||||
protected override void DrawRoadPart(Graphics g, int i, int j)
|
protected override void DrawRoadPart(Graphics g, int i, int j)
|
||||||
{
|
{
|
||||||
g.FillRectangle(roadColor, i * _size_x, j * _size_y, i * (_size_x + 1), j * (_size_y + 1));
|
g.FillRectangle(roadColor, i * _size_x, j * _size_y, _size_x, _size_y);
|
||||||
}
|
}
|
||||||
protected override void GenerateMap()
|
protected override void GenerateMap()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user