Mochalov D.V. Hard LabWork02 #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "LabWork02"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Зачтено с понижением балла(ов)
@ -2,4 +3,4 @@
class DrawningLocomotive {
public EntityLocomotive Locomotive;
public ExtraWheelsDraw extraWheelsDraw;
Этот класс заменен интерфейсом
@ -24,1 +24,3 @@
Locomotive.Init(speed, weight, bodyColor);
int randExtra = random.nextInt(2);
extraWheelsDraw = new ExtraWheelsDraw(randExtra, bodyColor);
switch (random.nextInt(3)){
Нет вызова метода/свойства передачи параметра в объект класса