View Single Post
Old 10-26-2004, 07:32 PM   #1
Dubthach
New Member
 
Join Date: Apr 2002
Posts: 21
Dubthach is on a distinguished road
So I'm messing around with writing a mud. It'll never get done, but its a mechanism for me to get better at a few skills.

Anyway.

One of the things I need at a basic level is a routine that matches up the command input by the player with a method call in the engine. I suppose the most basic way of doing this is to use a massive switch statement, but I was wondering if anyone has a more elegant way of doing it?

Thanks,
Dub
Dubthach is offline   Reply With Quote