Пример #1
0
bool Game::InitializeGameObjects() {
    
    if (InitializeSFML() == false) {
        return false;
    }
    if (InitializeBoard() == false) {
        return false;
    }
    if (InitializeTargets() == false) {
        return false;
    }
    if (InitializePaddle() == false) {
        return false;
    }
    if (InitializeBall() == false) {
        return false;
    }
    
    return true;
    
}
Пример #2
0
void InitializeVisionObjects()
{
	InitializeBall();

}