Can I make every room "contain" different info, like "Room Name", "Room Desc", "Room exits", "doors", "hiddendoors" as classes?
P.S. Chris any ETA on the door,oneway room glyphs?
Handling Rooms as classes
Re: Handling Rooms as classes
If you use my repository, probably sometime soon, though I want to overhaul the mapper so it may take some time. For the general release, I'm not sure.
For the info, use setRoomUserData(id, key, value)
You can make your own mappings in value by using known delimiters such as a pipe or a unique sequence you want to implement.
For the info, use setRoomUserData(id, key, value)
You can make your own mappings in value by using known delimiters such as a pipe or a unique sequence you want to implement.
Re: Handling Rooms as classes
You certainly can if you implement a layer between Mudlets APIs. We officially don't have plans to present our API as a class - we present low-level stuff, and then frameworks build on it as they like (Geyser, Vyzor).
Re: Handling Rooms as classes
Your ideas are interesting, and I'd like to subscribe to your newsletter.chris wrote: I want to overhaul the mapper