public void MakeMess() { if (BookcaseBehaviour != null) { BookcaseBehaviour.EmptyBookcase(); } if (TrashcanBehaviour != null) { TrashcanBehaviour.EmptyTrashCan(); } if (BasketBehaviour != null) { BasketBehaviour.EmptyBasket(); } }
public void MakeMess() { if (BookcaseBehaviour != null) { BookcaseBehaviour.EmptyBookcase(); } if (TrashcanBehaviour != null) { TrashcanBehaviour.EmptyTrashCan(); } if (BasketBehaviour != null) { BasketBehaviour.EmptyBasket(); } }