s/setxpos( *self *,\(.*\))/self->xpos = \1/g
s/setypos( *self *,\(.*\))/self->ypos = \1/g
s/setdir( *self *,\(.*\))/self->direction = \1/g
s/getxpos( *self *)/self->xpos/g
s/getypos( *self *)/self->ypos/g
s/getdir( *self *)/self->direction/g
s/self->xpos/xpos(self)/g
s/self->ypos/ypos(self)/g
s/self->direction/direction(self)/g
