|
freg
0.3
Free-Roaming Elementary Game
|
Keyboard input thread for curses screen for freg. More...
#include <IThread.h>


Public Member Functions | |
| IThread (Screen *) | |
| void | Stop () |
Protected Member Functions | |
| void | run () override |
Private Member Functions | |
| IThread (const IThread &)=delete | |
| IThread & | operator= (const IThread &)=delete |
Private Attributes | |
| Screen *const | screen |
| volatile bool | isRunning |
Keyboard input thread for curses screen for freg.
This class is thread, with IThread::run containing input loop. Can be used in console-based freg screens.
| IThread::IThread | ( | Screen * | scr | ) |
Definition at line 23 of file IThread.cpp.
|
privatedelete |
|
overrideprotected |
Definition at line 28 of file IThread.cpp.
| void IThread::Stop | ( | ) |
Definition at line 34 of file IThread.cpp.
1.8.7