added new tiles and actions:

* Tile displaying text
* TextDisplay: an action that sends text to clients
* DetermineTrainInBlock: action that alters the context by requesting the train in a specific block
This commit is contained in:
Stephan Richter
2020-11-19 19:07:23 +01:00
parent 6f5b2f677c
commit 9ea3d7a65b
14 changed files with 266 additions and 16 deletions

View File

@@ -19,10 +19,7 @@ public class TriggerContact extends Action {
@Override
public boolean fire(Context context) throws IOException {
if (isSet(contact)) {
System.err.println("triggering "+contact);
contact.trigger(200);
}
if (isSet(contact)) return contact.trigger(200);
return false;
}