Forward declaration

BlitzMax Forums/BlitzMax Beginners Area/Forward declaration

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yes, but the Create function can't set the values in a Field, right? So if I want an object to be initialized with parameters upon creation... it just can't be done. I need to make a new object and the call some initialization method which sets the field values.... I'm sorry, I must be really confusing here... Let me make an example of what it is I want:

I want to create an object type like a house; And this house object takes a couple of parameters during creation, like roofheight and number of doors, and then it calculates, say, a threedimensional house model and stores the created vertices in some fields. And I just want to type something like "AHouse:THouse = new Thouse(roofheight, doorcount)" for all this to happen...