refactor speed, direction, size into GameObject