overloading Animation constructor and setVelocity methods()