Ok I have looked in the APi doc and haven't found any thing about the differences and why you should you should use one over the other.
VERSUS THIS:
Code:
void MYVESSEL::ActivateCargo (DoorStatus action)
{
cargo_status = action;
}
void MYVESSEL::RevertCargo (void)
{
ActivateCargo (cargo_status == DOOR_CLOSED || cargo_status == DOOR_CLOSING ?
DOOR_OPENING : DOOR_CLOSING);
}
VERSUS THIS:
Code:
void MYVESSEL::AnimateBagDoor ()
{
bagdoor_status = (bagdoor_status == CLOSED || bagdoor_status == CLOSING ? OPENING : CLOSING);
}