Creation methods?

BlitzMax Forums/BlitzMax Programming/Creation methods?

Type tthing
	Field x,y
	Function Create:tthing(x)
		Local This:tthing = New tthing
		This.x = x
		Return This
	EndFunction
End Type
	 
Local t:tthing = tthing.Create(10)
Print t.x