Agrandissement de la scène
This commit is contained in:
parent
626d943a5a
commit
11719895c0
|
@ -3,7 +3,7 @@
|
|||
#include <queue>
|
||||
|
||||
Engine::Engine() : window(
|
||||
sf::VideoMode(400, 300), "Projet CMI",
|
||||
sf::VideoMode(800, 600), "Projet CMI",
|
||||
sf::Style::Default & ~sf::Style::Resize,
|
||||
sf::ContextSettings(0, 0, 2)
|
||||
) {
|
||||
|
|
|
@ -8,6 +8,7 @@ int main() {
|
|||
Engine engine;
|
||||
|
||||
Ball ball(3 * Constants::GRID, 1 * Constants::GRID);
|
||||
|
||||
Block block1(3 * Constants::GRID, 6 * Constants::GRID);
|
||||
Block block2(3 * Constants::GRID, 7 * Constants::GRID);
|
||||
Block block3(4 * Constants::GRID, 7 * Constants::GRID);
|
||||
|
|
Loading…
Reference in New Issue