Heisenbug

April 27, 2009

Moving room to room

Filed under: Backpack — by jenf @ 9:38 pm

It’s taken a little while, as I’ve been distracted with other things, but backpack now has the ability to move room to room.

I think it needs another refactor in it’s core as the system is becoming unwieldly. At the moment the main system is linked together with the following three classes

  • ObjectManager : Looks after all the objects
  • World : Looks after the world view
  • DSLParser : Looks after the DSL parsing

The three of these are tided together using masses of method_missing calls.

There’s also the problem where functions with similar names do widely differeing things

I’m not sure how best to rejig it. There is also the problem of inheritance in the CoreObjects, I’m not sure the best way to model it.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress.com