protected void moveLeft() {
        if (this.posX > 0 && !(this.posY == this.enemyPosY && (this.posX-1) == this.enemyPosX) && !(BattleBotsGUI.instance.obstacles[this.posX-1][this.posY])) {
            this.posX--;
        }
    }