up1
This commit is contained in:
parent
f7843bddbe
commit
58ecedcf4e
@ -22,6 +22,8 @@ public class ComboGenericCollection <T extends BaseTanker, U extends IWheelDraw
|
|||||||
Height = height;
|
Height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public boolean Add(T tanker)
|
public boolean Add(T tanker)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < MaxSize(); i++)
|
for (int i = 0; i < MaxSize(); i++)
|
||||||
@ -51,6 +53,8 @@ public class ComboGenericCollection <T extends BaseTanker, U extends IWheelDraw
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public DrawTanker CreateDraw()
|
public DrawTanker CreateDraw()
|
||||||
{
|
{
|
||||||
T tanker = _tankers[random.nextInt(0, CountTankers)];
|
T tanker = _tankers[random.nextInt(0, CountTankers)];
|
||||||
|
Loading…
Reference in New Issue
Block a user