animpoint.cpp
changeset 847 43268373032d
parent 835 31841b366d5e
     1.1 --- a/animpoint.cpp	Fri Apr 09 14:24:04 2010 +0000
     1.2 +++ b/animpoint.cpp	Wed Jun 09 13:14:08 2010 +0000
     1.3 @@ -124,6 +124,13 @@
     1.4  	return animated;
     1.5  }
     1.6  
     1.7 +void AnimPoint::stop()
     1.8 +{
     1.9 +	animated=false;
    1.10 +	setX (destPos.x());
    1.11 +	setY (destPos.y());
    1.12 +}
    1.13 +
    1.14  void AnimPoint::initVector()
    1.15  {
    1.16  	vector.setX (destPos.x()-startPos.x() );