make dx dy a member variable of bullet