Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ad43d27806 | |||
| 01e77b8073 | |||
| 695e8b8977 |
@@ -5,7 +5,6 @@ public interface ICollectionGenericObjects<T>
|
||||
int getCount();
|
||||
void SetMaxCount(int count, Class<T> type);
|
||||
int Insert(T obj);
|
||||
//подумать что делать с этим методом
|
||||
int Insert(T obj, int position);
|
||||
T Remove(int position);
|
||||
T Get(int position);
|
||||
|
||||
@@ -4,9 +4,7 @@ import java.awt.*;
|
||||
|
||||
public class EntityShip {
|
||||
private int Speed;
|
||||
public int getSpeed() {return Speed;}
|
||||
private double Weight;
|
||||
public double getWeight() {return Weight;}
|
||||
private Color BodyColor;
|
||||
public Color getBodyColor() {return BodyColor;}
|
||||
public double Step;
|
||||
|
||||
@@ -5,7 +5,6 @@ public class EntityWarmlyShip extends EntityShip{
|
||||
public Color AdditionalColor;
|
||||
public Color getAdditionalColor() {return AdditionalColor;}
|
||||
public boolean ShipPipes;
|
||||
public boolean getShipPipes() {return ShipPipes;}
|
||||
public boolean FuelTank;
|
||||
public boolean getFuelTank() {return FuelTank;}
|
||||
public EntityWarmlyShip(int speed, double weight, Color bodyColor, Color additionalcolor, boolean sheeppipes, boolean fueltank)
|
||||
|
||||
Reference in New Issue
Block a user