#include "attractor.h" Attractor::Attractor() { x = 0; y = 0; } //-------------------------------------------------------------------------------------- Attractor::~Attractor() { } //-------------------------------------------------------------------------------------- float Attractor::getY() { return y; } float Attractor::getX() { return x; } void Attractor::setX(float xNew) { x = xNew; } void Attractor::setY(float yNew) { y = yNew; } void Attractor::setup(float xSetup, float ySetup) { x = xSetup; y = ySetup; }