mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-03-31 02:11:35 +00:00
correction de bug
This commit is contained in:
@@ -79,7 +79,8 @@ public class Personnage {
|
||||
*/
|
||||
public boolean applyEffects(Effects effect) {
|
||||
switch (effect) {
|
||||
case DECREASESIZE: this.coordinate.removeLast(); break;
|
||||
case DECREASESIZE:
|
||||
if (this.coordinate.size() > 1) {this.coordinate.removeLast();} break;
|
||||
|
||||
case VOID: break;
|
||||
case IMPASSABLE: return true;
|
||||
|
||||
Reference in New Issue
Block a user