PIbd-21_KozyrevSS_GasolineT.../Direction.java

17 lines
238 B
Java
Raw Permalink Normal View History

public enum Direction {
Up ("U"),
Down ("D"),
Left ("L"),
Right ("R");
private String direct;
Direction(String d)
{
direct = d;
}
public String getDirect()
{
return direct;
}
}