Niveau de test update

This commit is contained in:
Mattéo Delabre 2016-03-18 19:14:16 +01:00
parent 012100e77d
commit 8350d2e2f6
1 changed files with 54 additions and 22 deletions

View File

@ -7,31 +7,63 @@
int main() { int main() {
Engine engine; Engine engine;
Ball ball(3 * Constants::GRID, 1 * Constants::GRID); Ball ball(3.5f * Constants::GRID, 10 * Constants::GRID);
Block block01(2 * Constants::GRID, 10 * Constants::GRID);
Block block1(3 * Constants::GRID, 6 * Constants::GRID); Block block02(2 * Constants::GRID, 11 * Constants::GRID);
Block block2(3 * Constants::GRID, 7 * Constants::GRID); Block block03(3 * Constants::GRID, 11 * Constants::GRID);
Block block3(4 * Constants::GRID, 7 * Constants::GRID); Block block04(4 * Constants::GRID, 11 * Constants::GRID);
Block block4(5 * Constants::GRID, 7 * Constants::GRID); Block block05(5 * Constants::GRID, 11 * Constants::GRID);
Block block5(6 * Constants::GRID, 7 * Constants::GRID); Block block06(6 * Constants::GRID, 11 * Constants::GRID);
Block block6(7 * Constants::GRID, 7 * Constants::GRID); Block block07(7 * Constants::GRID, 11 * Constants::GRID);
Block block7(8 * Constants::GRID, 7 * Constants::GRID); Block block08(8 * Constants::GRID, 11 * Constants::GRID);
Block block8(9 * Constants::GRID, 7 * Constants::GRID); Block block09(9 * Constants::GRID, 11 * Constants::GRID);
Block block9(9 * Constants::GRID, 6 * Constants::GRID); Block block10(13 * Constants::GRID, 11 * Constants::GRID);
Block block11(14 * Constants::GRID, 11 * Constants::GRID);
Block block12(15 * Constants::GRID, 11 * Constants::GRID);
Block block13(16 * Constants::GRID, 11 * Constants::GRID);
Block block14(17 * Constants::GRID, 11 * Constants::GRID);
Block block15(18 * Constants::GRID, 11 * Constants::GRID);
Block block16(19 * Constants::GRID, 11 * Constants::GRID);
Block block17(20 * Constants::GRID, 10 * Constants::GRID);
Block block18(20 * Constants::GRID, 11 * Constants::GRID);
Block block19(14 * Constants::GRID, 6 * Constants::GRID);
Block block20(13 * Constants::GRID, 6 * Constants::GRID);
Block block21(12 * Constants::GRID, 6 * Constants::GRID);
Block block22(11 * Constants::GRID, 6 * Constants::GRID);
Block block23(10 * Constants::GRID, 6 * Constants::GRID);
Block block24(9 * Constants::GRID, 6 * Constants::GRID);
Block block25(8 * Constants::GRID, 6 * Constants::GRID);
ball.setCharge(-2.f); ball.setCharge(-1.f);
block5.setCharge(16.f); block23.setCharge(1.f);
block21.setCharge(1.f);
engine.addObject(ball); engine.addObject(ball);
engine.addObject(block1); engine.addObject(block01);
engine.addObject(block2); engine.addObject(block02);
engine.addObject(block3); engine.addObject(block03);
engine.addObject(block4); engine.addObject(block04);
engine.addObject(block5); engine.addObject(block05);
engine.addObject(block6); engine.addObject(block06);
engine.addObject(block7); engine.addObject(block07);
engine.addObject(block8); engine.addObject(block08);
engine.addObject(block9); engine.addObject(block09);
engine.addObject(block10);
engine.addObject(block11);
engine.addObject(block12);
engine.addObject(block13);
engine.addObject(block14);
engine.addObject(block15);
engine.addObject(block16);
engine.addObject(block17);
engine.addObject(block18);
engine.addObject(block19);
engine.addObject(block20);
engine.addObject(block21);
engine.addObject(block22);
engine.addObject(block23);
engine.addObject(block24);
engine.addObject(block25);
engine.start(); engine.start();
return 0; return 0;