Put all unit state changes into playerunit