- implemented tags on trains and cars

- added condition TrainHasTag
This commit is contained in:
Stephan Richter
2020-11-01 18:37:59 +01:00
parent d40ea949be
commit 0decce654d
8 changed files with 115 additions and 14 deletions

View File

@@ -67,7 +67,7 @@ public abstract class Block extends StretchableTile{
new Checkbox(ALLOW_TURN,t("Turn allowed"),turnAllowed).addTo(new Tag("p")).addTo(form);
Select select = Train.selector(train, null);
select.addTo(new Label(t("Trains:")+NBSP)).addTo(new Tag("p")).addTo(form);
select.addTo(new Label(t("Train:")+NBSP)).addTo(new Tag("p")).addTo(form);
return form;
}