A way to identify sub types ...

BlitzMax Forums/BlitzMax Programming/A way to identify sub types ...

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.

@Hakea : I'm a newbie to BlitzMax as well; I'm being over-cautious with my comments - don't mind me.


For my own data management I created a Node class :

.. partial code ..

Type Node

	Field nParent:Node
	Field nChild:Node
	Field nPrev:Node
	Field nNext:Node
	
	Field sName:String
	
	Global numNodes = 0

	'Constructor
	Method New()
		
		nParent = Null
		nChild = Null
		nPrev = Self
		nNext = Self
		
		numNodes:+1
		
	End Method

... code continues



I was going to use this as the basis for a primitive scene graph and use the position in the tree to determine sort order / render. I can add / detach / delete Nodes from each other...