When you create a bullet you know who created it right? so maybe put a field called Parent.
Field Parent:TObject
Or you can cast the Bullet object to the various kinds of Bullets to find out which one it is.
Just Ideas.
Regards,
Eric
Field Parent:TObject
Or you can cast the Bullet object to the various kinds of Bullets to find out which one it is.
Just Ideas.
Regards,
Eric