Errr, I'll try to explain what I'm trying to do, cuz I'm very confused :)
I have alot of spaceships. I'd originally stored everything in arrays but I've just discovered the joys of types, so I'm converting everything over. Storing the non-entity stuff for my ships is easy enough, for example the ships speed, target, damage etc. I understand all that fine. But I'm not sure how to store the entity itself. Is there some way to attach my entity to my type? So that when I'm playing around with one of my ships, I could also manipulate the entity? I looked at the Wingpilot sample, and that seems to do exactly this, but I'm still very confused. How would I create my ship as part of the type and then manipulate it?
I know that's not very clear, but hopefully someone will understand what I'm getting at.
I have alot of spaceships. I'd originally stored everything in arrays but I've just discovered the joys of types, so I'm converting everything over. Storing the non-entity stuff for my ships is easy enough, for example the ships speed, target, damage etc. I understand all that fine. But I'm not sure how to store the entity itself. Is there some way to attach my entity to my type? So that when I'm playing around with one of my ships, I could also manipulate the entity? I looked at the Wingpilot sample, and that seems to do exactly this, but I'm still very confused. How would I create my ship as part of the type and then manipulate it?
I know that's not very clear, but hopefully someone will understand what I'm getting at.