Hi I'm new to BlitzMax and have a quick question for someone who can help!
I want to have an object (let's say objectA) create/manage a list of other objects (let's call this List of objectB's).
I want objectB's to be able to reference it's "Parent" ObjectA when they need to. I tried passing SELF but ObjectB's dont know what type objectA is unless I Include a referenc to ObjectA's file ala:
Include "objectA.bmx"
The problem I'm having is that objectA.bmx is already included in another file thus locked.
A simple problem I'm having is having ObjectA hold a list of ObjectB's and when ObjectB's die off I need them to remove themselves from ObjectA's list of them.
Does this make sense? Ha lots of A's n B's.
Thanks for the help!!!
I want to have an object (let's say objectA) create/manage a list of other objects (let's call this List of objectB's).
I want objectB's to be able to reference it's "Parent" ObjectA when they need to. I tried passing SELF but ObjectB's dont know what type objectA is unless I Include a referenc to ObjectA's file ala:
Include "objectA.bmx"
The problem I'm having is that objectA.bmx is already included in another file thus locked.
A simple problem I'm having is having ObjectA hold a list of ObjectB's and when ObjectB's die off I need them to remove themselves from ObjectA's list of them.
Does this make sense? Ha lots of A's n B's.
Thanks for the help!!!