// Initializes stuff.
GameBoard::GameBoard():board(19, std::vector<Pebble>(19, Pebble()))
{
	//TODO: Initialize stuff here
}
Exemple #2
0
void draw::drawPower(sf::RenderWindow &mainWindow, int n, int m){

    sf::Sprite Pebble(pebble);
    Pebble.setPosition(100 + ((m) * 30), ((n) *30));
    mainWindow.draw(Pebble);
}