def setModel(self,model):
if self.model is not None:<EOL><INDENT>self.model.cleanup(self)<EOL><DEDENT>self.model = model<EOL>model.create(self)<EOL>
Sets the model this actor should use when drawing.

This method also automatically initializes the new model and removes the old, if any.