git-tfs-id: [https://sznp.visualstudio.com/DefaultCollection/]$/Torpedo;C15
This commit is contained in:
parent
a2cb6590ae
commit
8eaab232b5
2 changed files with 0 additions and 4 deletions
|
@ -30,7 +30,6 @@ namespace Torpedo
|
||||||
|
|
||||||
public override void RenderShip(Ship ship)
|
public override void RenderShip(Ship ship)
|
||||||
{
|
{
|
||||||
//TODO: Képek az egyes hajótípusokhoz
|
|
||||||
bool destroyed = ship.DamagedParts.All(p => p);
|
bool destroyed = ship.DamagedParts.All(p => p);
|
||||||
for (int i = 0; i < ship.Size; i++)
|
for (int i = 0; i < ship.Size; i++)
|
||||||
{
|
{
|
||||||
|
@ -47,7 +46,6 @@ namespace Torpedo
|
||||||
else
|
else
|
||||||
UpdateField(ship.X, ship.Y + i, ft);
|
UpdateField(ship.X, ship.Y + i, ft);
|
||||||
}
|
}
|
||||||
//TODO: Rárajzolni a képet a mezőkre
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void RenderGameField()
|
public override void RenderGameField()
|
||||||
|
|
|
@ -31,7 +31,6 @@ namespace Torpedo
|
||||||
|
|
||||||
public override void RenderShip(Ship ship)
|
public override void RenderShip(Ship ship)
|
||||||
{
|
{
|
||||||
//TODO: Képek az egyes hajótípusokhoz
|
|
||||||
bool destroyed = ship.DamagedParts.All(p => p);
|
bool destroyed = ship.DamagedParts.All(p => p);
|
||||||
for (int i = 0; i < ship.Size; i++)
|
for (int i = 0; i < ship.Size; i++)
|
||||||
{
|
{
|
||||||
|
@ -45,7 +44,6 @@ namespace Torpedo
|
||||||
else
|
else
|
||||||
UpdateField(ship.X, ship.Y + i, fto);
|
UpdateField(ship.X, ship.Y + i, fto);
|
||||||
}
|
}
|
||||||
//TODO: Rárajzolni a képet a mezőkre
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void RenderGameField()
|
public override void RenderGameField()
|
||||||
|
|
Loading…
Reference in a new issue