Made units use the pygame sprite system.