Crypt Mbed

Dependencies:   mbed wave_player 4DGL-uLCD-SE USBHost

oldcodeplace.cpp

Committer:
amcentag
Date:
2021-12-09
Revision:
0:9d0cdfe46974

File content as of revision 0:9d0cdfe46974:



//void actionW() {
//    action(1);
//}
//void actionA() {
//    action(2);
//}
//void actionS() {
//    action(3);
//}
//void actionD() {
//    action(4);
//}

////handles actions for button press
//void action(int i) {
//    //get lock for action
//    int c = -1;
//    actM.lock();
//    //if (actLock) {
//        //lock out further actions
//        actM.lock();
//        actLock = 0;
//        actM.unlock();
//        //check if action is within beat (beat center is 100)
//        c = counter;
//        //if (c >= 76 || c <= 25) {
//            currAction = i;
//        //}
//    //}
//    actM.unlock();
//    //make changes to game board if action was recorded
////    if (c != -1) {
////        processAction();
////    }
//}