Set the characters present in texture

Last all characters from left to right, then top to bottom. Line skip \n, are ignored and space ' ' skips holes in the tileset.

Property definitions

gamnit $ TileSetFont :: chars=
	# Set the characters present in `texture`
	#
	# Last all characters from left to right, then top to bottom.
	# Line skip `\n`, are ignored and space ' ' skips holes in the tileset.
	fun chars=(chars: Text)
	is autoinit do
		chars_cleaned = chars.replace("\n", "")
	end
lib/gamnit/tileset.nit:67,2--74,4