public void SetPlayMode(PlayModeEnum aPlayMode) { PlayState newPlayState = PlayState.SetPlayMode(this.currentState, aPlayMode); UpdatePlayState(newPlayState); }
public static PlayState SetPlayMode(PlayState aPlayState, PlayModeEnum aPlayMode) { aPlayState.playMode = aPlayMode; return(aPlayState); }