|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfreerails.world.terrain.Conversion
public class Conversion
This class represents the conversion of one cargo type to another one a tile.
| Field Summary | |
|---|---|
private int |
input
|
private int |
output
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
Conversion(int in,
int out)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
getInput()
|
int |
getOutput()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final int input
private final int output
| Constructor Detail |
|---|
public Conversion(int in,
int out)
| Method Detail |
|---|
public int getInput()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int getOutput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||