You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
340 B
19 lines
340 B
package de.srsoftware.web4rail; |
|
|
|
public class Connector { |
|
|
|
public Plan.Direction from; |
|
public int y; |
|
public int x; |
|
|
|
public Connector(int x, int y, Plan.Direction from) { |
|
this.x = x; |
|
this.y = y; |
|
this.from = from; |
|
} |
|
|
|
@Override |
|
public String toString() { |
|
return getClass().getSimpleName()+"("+x+", "+y+", from "+from+")"; |
|
} |
|
}
|
|
|