Class CommandChangeStateByPlayerCode