public void updateImg() {
        switch (movingDir) {
            case POS_UP:
                if (color == 0) {
                    img = IMG_TANK_UP;
                } else {
                    img = IMG_TANK_UP_2;
                }
                break;
            case POS_DOWN:
                if (color == 0) {
                    img = IMG_TANK_DOWN;
                } else {
                    img = IMG_TANK_DOWN_2;
                }
                break;
            case POS_LEFT:
                if (color == 0) {
                    img = IMG_TANK_LEFT;
                } else {
                    img = IMG_TANK_LEFT_2;
                }
                break;
            case POS_RIGHT:
                if (color == 0) {
                    img = IMG_TANK_RIGHT;
                } else {
                    img = IMG_TANK_RIGHT_2;
                }
                break;
        }
    }