reinstated local input package, whoops
changed pixmap and animation to implement IPaintable which is painted by sprite
changed pixmap and animation to implement IPaintable which is painted by sprite