TextureRegion UpdateCharacter(float DeltaTime){
        
        statetime+=DeltaTime;
        
        Animation fm = stndbyright ;
        boolean loop = true;
        
        switch(st){
            case walk:
                fm = GetWalkAnimation(d);
            break;
            case standby:
                fm = GetStnAnimation(d);
            break; 
            case strike:
                fm = GetStrikeAnimation(d);
            break;
            case stalk:
                fm = GetWalkAnimation(d);
            break;
                
        }
        
        return fm.getKeyFrame(statetime, loop);
    
    }