Manager Objects versus Sticking everything in cWorld
#1
Continuing on from the discussion here:https://github.com/mc-server/MCServer/co...nt-5293605

One of the main advantages of managers is it makes dependency management and dependency injection a lot easier. At the moment almost everything requires that you include cWorld as almost everything uses it. With managers it would be easier to just pass in the managers the object uses making the interfaces smaller and possibly using standard interface rather than having a separate interface class for every interface as each one has its own set of methods it needs and doesn't need. eg the BlockHandlers do not need to know about the Generator Queue.
Reply
Thanks given by:


Messages In This Thread
Manager Objects versus Sticking everything in cWorld - by worktycho - 02-07-2014, 05:00 AM



Users browsing this thread: 1 Guest(s)