crankycyclops / trogdor-pp

A unified engine for building text adventures and MUDs with batteries included.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object class aliases

crankycyclops opened this issue · comments

When you refer to an object, you should also be able to refer to it by class name. This will affect a few things. First, aliases will need to be modified every time setClass() is called on an entity. Secondly, a Room's indexByName will also have to be updated to reflect the change. Third, the inventory's indexByName will, also, have to be updated.

Anything else I missed? Investigate.

Wee!