public void SetLevelReturnType(LevelReturnType levelReturnType) { this._levelReturnType = levelReturnType; this._doNotUpdate = true; }
public void ResetLevelForStartingNewLife(ISpriteBatch spw) { if (spw != null) { Point roomStart = GetContainingRoom(this.Player.Position).Location; spw.WindowOffset = new Vector2(roomStart.X, roomStart.Y); } this.Game.SoundPlayer.Play(GameSound.PlayerStartsNewLife); this._levelReturnType = LevelReturnType.Normal; _doNotUpdate = false; }