<commit_before>#include "ofxAnimation.h"
#include "ofUtils.h"

//class ofxTween 
ofxTween::ofxTween(ofxObject *iObject, ofxMessage *iMessage)
{
	object = iObject;
	message = iMessage;
}

ofxTween::~ofxTween()
{
	stop();
	delete(message);
}

void ofxTween::start()
{
	message->setStartTime(ofGetElapsedTimef());
	message->enableMessage(true);
	message->isRunning = false;
	object->doMessage(message);		
}

void ofxTween::stop()
{
	message->enableMessage(false);
	object->removeMessage(message);	
}




//class ofxAnimation 
ofxAnimation::ofxAnimation()
{

}

ofxAnimation::~ofxAnimation()
{
	stop();
	for(unsigned int i=0; i < tweens.size(); i++){
		delete(tweens[i]);
		tweens.erase(tweens.begin() + i);
		i--;
	}
}

void ofxAnimation::start()
{
	for(unsigned int i=0; i < tweens.size(); i++){
		tweens[i]->start();
	}<commit_msg>whitespace<commit_after>#include "ofxAnimation.h"
#include "ofUtils.h"

//class ofxTween 
ofxTween::ofxTween(ofxObject *iObject, ofxMessage *iMessage)
{
	object = iObject;
	message = iMessage;
}

ofxTween::~ofxTween()
{
	stop();
	delete(message);
}

void ofxTween::start()
{
	message->setStartTime(ofGetElapsedTimef());
	message->enableMessage(true);
	message->isRunning = false;
	object->doMessage(message);		
}

void ofxTween::stop()
{
	message->enableMessage(false);
	object->removeMessage(message);	
}

    


//class ofxAnimation 
ofxAnimation::ofxAnimation()
{

}

ofxAnimation::~ofxAnimation()
{
	stop();
	for(unsigned int i=0; i < tweens.size(); i++){
		delete(tweens[i]);
		tweens.erase(tweens.begin() + i);
		i--;
	}
}

void ofxAnimation::start()
{
	for(unsigned int i=0; i < tweens.size(); i++){
		tweens[i]->start();
	}
{'fraction_non_alphanumeric': 0.18543046357615894, 'fraction_numerical': 0.002408187838651415, 'mean_word_length': 5.271698113207547, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4970883', 'n_tokens_mistral': 680, 'n_tokens_neox': 669, 'n_words': 104}