Hajj-simulation/src/Breakable.java

13 lines
221 B
Java
Raw Normal View History

import java.util.Date;
2020-10-09 21:58:00 +02:00
public interface Breakable {
int getTimeToFix();
boolean isBroken();
boolean isInAccident();
void collide(Breakable car, Date time);
void _break(Date time);
void fix();
2020-10-09 21:58:00 +02:00
}