Add main loop
This commit is contained in:
parent
102ba39a6d
commit
0a2cc52f7f
@ -233,7 +233,7 @@ SDL_Renderer* board::getRenderer(){
|
||||
// Constructors ///////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
board::board(const bool init = true){
|
||||
board::board(const bool init){
|
||||
_window = nullptr;
|
||||
_renderer = nullptr;
|
||||
|
||||
@ -316,8 +316,9 @@ int board::init(){
|
||||
// This is where most of the logic lives
|
||||
void board::start(){
|
||||
|
||||
for(;;){
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -13,6 +13,8 @@ int main(int argc, char** argv){
|
||||
|
||||
dashboard::board _board;
|
||||
|
||||
_board.start();
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user