PIbd-23-Radaev-A.V.-Catamar.../EntityCatamaranPro.java

19 lines
657 B
Java
Raw Permalink Normal View History

2023-12-10 11:59:44 +04:00
import java.awt.*;
public class EntityCatamaranPro extends EntityCatamaran{
public Color AdditionalColor;
public boolean Motor;
public boolean Sheet;
public Color AdditionalColor(){return AdditionalColor;}
public boolean Motor(){return Motor;}
public boolean Sheet(){return Sheet;}
public EntityCatamaranPro(int speed, double weight, Color bodyColor, Color oarsColor,Color additionalColor, boolean bodykit, boolean motor, boolean sheet, boolean seats)
{
super(speed,weight,bodyColor,oarsColor,bodykit,seats);
AdditionalColor = additionalColor;
Motor = motor;
Sheet = sheet;
}
}