adds speed to gamestate