Subversion Repositories sssnakesss

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/include/sssnakesss.hpp
13,11 → 13,14
void initData();
void run();
void checkEvents();
void update();
void draw();
void end();
private:
bool running;
};
 
#endif // SSSNAKESSS_H
/src/sssnakesss.cpp
2,7 → 2,7
 
SSSNAKESSS::SSSNAKESSS()
{
running = false;
}
 
SSSNAKESSS::~SSSNAKESSS()
43,8 → 43,28
 
void SSSNAKESSS::run()
{
running = true;
while (running)
{
checkEvents();
update();
draw();
}
}
 
void SSSNAKESSS::checkEvents()
{
}
 
void SSSNAKESSS::update()
{
}
 
void SSSNAKESSS::draw()
{
}
 
void SSSNAKESSS::end()
{
}