Beispiel #1
0
 public void SetLevelReturnType(LevelReturnType levelReturnType)
 {
     this._levelReturnType = levelReturnType;
     this._doNotUpdate = true;
 }
Beispiel #2
0
 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;
 }