method virtual set_position : position -> unit