Пример #1
0
 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...");
 }
Пример #2
0
 public bool Consume(IAvatar avatar)
 {
     avatar.SendPrivateMessage("Du konsumierst den Inhalt aus " + Name + ".\n" + Effect);
     return(true);
 }