@Override
    protected void controlUpdate(float tpf) {
        if(enabled){
            if(GameStarted.gameStart){
                if(enemyType == EnemyType.RANGE){
                    ai_Range();
                }else if(enemyType == EnemyType.MELEE){
                    ai_Melee();
                }else if(enemyType == EnemyType.HAMMER){
                    ai_Hammer();
                }else if(enemyType == EnemyType.CRYSTALDRAINER){
                    ai_CrystalDrainer();
                }
                
                if(!findGround()){
                    spatial.move(0, -acceleration_Fall, 0);
                }else{
//                    setLevelYCoords();
                }
            }
        }
    }