Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Action_1() {
- std::cout << "Action 1\n"; // do some action
- setNextAction(Action_2); // set next action
- }
- // same thing as Action_1
- void Action_1_v2() {
- setNextAction(Action_2);
- std::cout << "Action 1\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement