Two types need to know about each other

BlitzMax Forums/BlitzMax Beginners Area/Two types need to know about each other

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.

Well I have a game type and a shape type for my tetris game. Perhaps because I'm not an expert programmer, the two types need to know about each other for it to work. As far as I can tell, there aren't any cyclic references.

The game type has a list of shapes in play, and the shape methods need to know about what game they are updating when they do stuff.