public void LeaveDungeon(int currentRoomId, IAvatar avatar) { //ActiveDungeons.Find(x => x.DungeonId == currentDungeonId)?.GetRoom(currentRoomId).Leave(avatar); DungeonMockData.Dungeon.GetRoom(currentRoomId).Leave(avatar); avatar.SendPrivateMessage("Dein Avatar hat das Dungeon nun verlassen..."); }
public bool Consume(IAvatar avatar) { avatar.SendPrivateMessage("Du konsumierst den Inhalt aus " + Name + ".\n" + Effect); return(true); }