Advertisement
Guest User

Inpput cpp

a guest
Feb 8th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include "Input.h"
  2. #include <iostream>
  3.  
  4. bool Input::ButtonHeld(unsigned int ID)
  5. {
  6. auto it = HeldMap.find(ID);
  7.  
  8. if (it != HeldMap.end())
  9. {
  10. return it->second;
  11. }
  12.  
  13. return false;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement