pioneerspacesim/pioneer — pull request #1297 by robn (2012-06-20 13:27:22+00:00)
Title: Lua: Copy parent class when creating derived class

Changes the way Lua classes are constructed. When deriving a class, the method, attribute and metamethod tables are copied from the parent and then augmented with the derived class methods. Makes it so we no longer have to walk the inheritance tree when dispatching a call, which makes the dispatcher faster and simpler.