implemented renamable blocks

This commit is contained in:
Stephan Richter
2020-09-14 22:59:55 +02:00
parent 140414837b
commit 75c63018e8
7 changed files with 168 additions and 45 deletions

View File

@@ -1,6 +1,7 @@
package de.srsoftware.web4rail.tiles;
import java.io.IOException;
import java.util.Map;
import de.srsoftware.tools.Tag;
@@ -12,7 +13,7 @@ public class CrossH extends Tile{
}
@Override
public Tag tag() throws IOException {
return super.tag().size(200,100).attr("viewbox", "0 0 200 100");
public Tag tag(Map<String,Object> replacements) throws IOException {
return super.tag(replacements).size(200,100).attr("viewbox", "0 0 200 100");
}
}