encapsulate position attribute of bullet object