I would like to get this kind feature for creating levels for 2D games in SFML. Level file would be as text file.
Text file:
F
============
Initializing and loading of text file:
TileMap gamelevel = TileMap.FromLevelAsset("level1.txt");
Loading and setting of letters/marks in text file.
gamelevel.SetTileMethod('=', CreateGround);
gamelevel.SetTileMethod('f', CreateFlag);
And then own fuctions CreateWall() where setting of colors, sprites and so on.