Лабораторрная работа №1
This commit is contained in:
parent
4166c6d002
commit
b92de325a4
@ -161,7 +161,7 @@ public class DrawningBattleship
|
||||
g.FillRectangle(bodyBrush, x + 15, y + 40, 80, 30);
|
||||
g.DrawRectangle(pen, x + 15, y + 40, 80, 30);
|
||||
|
||||
// Нос корабля (треугольник)
|
||||
// Нос корабля
|
||||
Point[] nose = {
|
||||
new Point(x + 95, y + 40),
|
||||
new Point(x + 95, y + 70),
|
||||
@ -169,7 +169,7 @@ public class DrawningBattleship
|
||||
};
|
||||
g.FillPolygon(bodyBrush, nose);
|
||||
g.DrawPolygon(pen, nose);
|
||||
// Пушки (реалистичные)
|
||||
// Пушки
|
||||
if (EntityBattleship.Weapon)
|
||||
{
|
||||
g.FillRectangle(additionalBrush, x + 20, y + 35, 8, 20);
|
||||
@ -181,7 +181,7 @@ public class DrawningBattleship
|
||||
g.DrawLine(pen, x + 86, y + 30, x + 86, y + 35);
|
||||
}
|
||||
|
||||
// Ракеты (улучшены)
|
||||
// Ракеты
|
||||
if (EntityBattleship.Rockets)
|
||||
{
|
||||
g.FillRectangle(additionalBrush, x + 25, y + 50, 6, 15);
|
||||
|
Loading…
x
Reference in New Issue
Block a user