//Text Info
if (byTypeCode == TextInfoType) {
if (setFont != null) {
result = new TextInfo(setX, setY, "Text", -1, setFont);
((TextInfo) result).font = setFont;
((TextInfo) result).canBeClicked = true;
} else {
result = new TextInfo(setX, setY, "Text", -1, Detonator.INSTANCE.fontProvider.getDefaultFont());
((TextInfo) result).font = Detonator.INSTANCE.fontProvider.getDefaultFont();
((TextInfo) result).canBeClicked = true;
}
}