Closed LaraMo closed 11 months ago
you wrote Order-DONE, does that mean you merged with orders-excution branch?
@EyalAzimov not quite, its means that when an order was created, the observer pattern was hooked up properly to observe such event.
once you merge, it will need to call notify(this)
in the proper method. See comment:
// Order::execute() --> DONE, BUT THE EFFECT ISNT READY, SO NEED TO ADD IT WHEN WE MERGE
Note, the grand schema of the observer pattern has been completed. All left to do is to implement it once all the needed classes are merged.
// TODO: when merged // CommandProcessor::saveCommand() // Command::saveEffect() // Order::execute() --> DONE, BUT THE EFFECT ISNT READY, SO NEED TO ADD IT WHEN WE MERGE // OrderList::addOrder() // GameEngine::transition()
//todo: extend the following classes when merged: // Order - DONE // OrderList // GameEngine // Command // CommandProcessor