Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. void Action_1() {
  2.     std::cout << "Action 1\n"; // do some action
  3.     setNextAction(Action_2);   // set next action
  4. }
  5.  
  6. // same thing as Action_1
  7. void Action_1_v2() {
  8.     setNextAction(Action_2);
  9.     std::cout << "Action 1\n";
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement