roxen.lists.pike.general

Subject Author Date
Is there anyway to have a class always be inherited from other objects? Dino M. Gambone <dmgambone[at]yahoo[dot]com> 08-09-2009
I'm working on a MUD engine using Pike as the development language for the main
engine.  The MUD Engine (which I call the kernel) creates a sandbox (which
replaces the master object) to protect and hide the hosting system.  The sandbox
hides certain global functions or replaces them with custom versions of them
defined in the kernel.  Part of the sandbox is a compiler class that compiles
the MUD specific classes.  However, one thing I would like to do is for every
object in the MUD to inherit from a kernel defined class (let's simply call this
class MUDObject).

Is there anyway to define in the compiler or the master object to force any
class that is compiled to include MUDObject as one of the base classes of that
object?