If I wanted an instance (e.g. A Tank) of an object (e.g. TGameObject) to contain a pointer to an extended TPixmap (ETPixmap) instance associated with it.
I would need a pointer to Type ETPixmap wouldn’t I?
If not, would that mean that each TGamePiece needs to contain its own pixmap?
I.e. I want each instance of TGameObject to Point to its Graphic instance, not contain it.
I would need a pointer to Type ETPixmap wouldn’t I?
If not, would that mean that each TGamePiece needs to contain its own pixmap?
I.e. I want each instance of TGameObject to Point to its Graphic instance, not contain it.