a guest Apr 24th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- int counter = 0;
- counter++; //!< plus the counter
- if (counter >= 50) //!< if the counter is bigger or equal to 50 then do this
- movement = generateNum(10); //!< generate a new number
- counter = 0; //!< reset the counter
RAW Paste Data