#include <movement_observable.h>


Protected Member Functions | |
| virtual BoxContainer::BoxIterator | movement_boxes_begin () throw () |
| Begin iterator over the currenty active boxes. | |
| virtual BoxContainer::BoxIterator | movement_boxes_end () throw () |
| End iterator over the currenty active boxes. | |
| virtual bool | movement_boxes_violated (const Vec &pos) |
| virtual void | movement_boxes_from (MovementObservable &mo) throw () |
| void | movement_initial_boxes (Node &n, const Vec &newpos, const Vec &velo) throw () |
| Removes all active boxes and retrieves a list of initial boxes from all registered Observers. | |
| void | movement_update_boxes (Node &n, const Vec &newpos, const Vec &velo) throw () |
| Removes all active boxes and updates a list of new boxes from all registered Observers. | |
Two helper methods implement this notification mechanism: obtain_initial_boxes and update_boxes.
By using boxes_begin and boxes_end, all currently active boxes can be iterated.
| virtual BoxContainer::BoxIterator shawn::MovementObservable::movement_boxes_begin | ( | ) | throw () [inline, protected, virtual] |
Begin iterator over the currenty active boxes.

| virtual BoxContainer::BoxIterator shawn::MovementObservable::movement_boxes_end | ( | ) | throw () [inline, protected, virtual] |
End iterator over the currenty active boxes.

| virtual bool shawn::MovementObservable::movement_boxes_violated | ( | const Vec & | pos | ) | [inline, protected, virtual] |

| virtual void shawn::MovementObservable::movement_boxes_from | ( | MovementObservable & | mo | ) | throw () [inline, protected, virtual] |

| void shawn::MovementObservable::movement_initial_boxes | ( | Node & | n, | |
| const Vec & | newpos, | |||
| const Vec & | velo | |||
| ) | throw () [inline, protected] |
Removes all active boxes and retrieves a list of initial boxes from all registered Observers.

| void shawn::MovementObservable::movement_update_boxes | ( | Node & | n, | |
| const Vec & | newpos, | |||
| const Vec & | velo | |||
| ) | throw () [inline, protected] |
Removes all active boxes and updates a list of new boxes from all registered Observers.

1.5.6