Rooms and links between rooms
Good evening. Let me please introduce myself, I'm a man of wealth and taste... and a young spanish coder and ocasional MUD player, please forgive my english, it's not my mother language. Not much info there, actually.
Anyways, I'm not really going to code a mud, but still have a question: in MUD code, do rooms "know" what rooms they're linked to? I mean, there are explicit references inside the class? And if it's not so, how are links between rooms kept?
Actually this question only really makes sense if there are MUDs coded in Object Oriented languages, and I believe most are done in C for performance reasons?
I know this might be a little too basic, I searched the forum but didn't find anything helpful. If you people answer, I only need a high level view, I can think about the rest.
Muchas gracias
|