Exemple #1
0
	Circle(Circle* prev, float r, float rate, float theta) {
		this->inUse = true;

		this->position = prev->getPosOnR();
		this->radius = r;
		this->rate = rate;
		this->theta = theta;
		this->prev = prev;
	}
Exemple #2
0
	void update(float delta) {
		theta += rate * delta;
		if (prev != 0) {
			position = prev->getPosOnR();
		}
	}