From 82f8eeb13cc2bbe6c9451eca9f9f34f6bf9c6e32 Mon Sep 17 00:00:00 2001 From: heurtet Date: Fri, 14 May 2021 15:00:17 +0200 Subject: [PATCH] =?UTF-8?q?avec=20le=20mp3=20=C3=A7a=20devrait=20mieux=20m?= =?UTF-8?q?archer...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/assets/sounds/effects/clickbutton.mp3 | Bin 0 -> 8057 bytes core/src/sagittarius/model/Player.java | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 core/assets/sounds/effects/clickbutton.mp3 diff --git a/core/assets/sounds/effects/clickbutton.mp3 b/core/assets/sounds/effects/clickbutton.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..9090b06be16a6badc428e4f6409b394c906dd943 GIT binary patch literal 8057 zcmeI1cQjnzx4`choiJ* )Zt38Ka*!(g=NF&IP_B~37T7e*Jo*F+aB1kqbWNtEa$ zN*W@f%;US>@AuYw>$l$f{qg?zt+(E1-LlU zQg-#V_clTpiC@Un7pI-8lbs9H!yW4F;p>huLaB-Udxha;`L>g-tG%$Dha3JR0drCD z-(u?I?s(DQ(kcT0unPf97l>V=dWrrewikF_5`0PWCDj)UUNU>h@+E5*Y+bT_$=6GM zTyS{F?@LZE!C!FU3x!nCQIilB6BQ+F`CI>_pfJKs9RRd^*^e7#ecgYn_&Zh^c+-# zEv}mB1k!U0OJoHPmsJV@Pe6Y4rn-+~YkK)Zj!6w4I}5dr2KOb0MP_~GxijJx#cJIm z7k1goZsPmK#nY7r;B<4pKPL( zdY^Jt*~2!yghp^kdo5~x?A|I|5v=`b|4{BE=n3>yqp-;P^I{YkkU$DxNq}V^H~nS^ zYJf|E08IH6D$e0K_$EXp1Vv6ol7U6K1dByQZh~&4B4v0m2gikdn?9!5$*XMOBq00- zi8?|2jR)~O!`vbba)Zbi$cO08- z{S%!Czd!id$6*p5lR*fCb203IRp(*d@FSP(A;QavaKUlF9e0brq&MwB3o+XojPC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9 texture; private int T = 0; + // ---------- CONSTRUCTORs ---------- public Player(Planet home, Color color) { @@ -89,10 +93,15 @@ public class Player extends EntityQuad { if (active) { if (Gdx.input.isKeyPressed(Keys.LEFT)) { + this.angle += 100.0f / home.getRadius(); + + } if (Gdx.input.isKeyPressed(Keys.RIGHT)) { this.angle -= 100.0f / home.getRadius(); + + } }