AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

games/GameSelector.h

Committer:
sillevl
Date:
2014-12-14
Revision:
10:afc22465169e
Child:
17:19dbb1dbb640

File content as of revision 10:afc22465169e:

#ifndef GAMESELECTOR_H
#define GAMESELECTOR_H

#include "../board/Board.h"

class GameSelector{
    Board* board;
    void print_up_down_arrows();
    void print_selection_arrow();
    void print_list();
    
    void go_down();
    void go_up();
    
    int start_position;
    int current_selection;
    int total_selections;
    
    char* titles[7];
    
    public:
    GameSelector(Board* board);
    void run();
};

#endif