From: Ben <lgp...@16...> - 2010-01-28 16:43:24
|
Hi, About Hedayat's point *3*, I think Andreas tries to concentrate the abstract information only in class *impfactory* and the particular engine is created at the constructor function of ImpFactory. Otherwise the engine-special info will be added into every class, such as body, joint which should be avoid. I believe the current design is the same with OpenGLServer as Hedayat mentioned before. The superficial differences are: 1. ImpFactory instead of PhysicsSystem 2. PhysicsServer is null, not like OpenGLServer (the code is in ImpFactory) However, essentially they are the same, since both use bridge pattern. Please point out if I'm wrong. Thanks a lot! Regards Ben |