Implemented room blocking in game.
This commit is contained in:
parent
18908b2ae7
commit
1e95378bb1
24 changed files with 25172 additions and 65 deletions
|
|
@ -1,4 +1,4 @@
|
|||
namespace DungeonMapGenerator
|
||||
namespace DungeonMapGenerator.Rooms
|
||||
{
|
||||
public class BossRoom : MonsterRoom
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace DungeonMapGenerator
|
||||
namespace DungeonMapGenerator.Rooms
|
||||
{
|
||||
public class MonsterRoom : Room
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
namespace DungeonMapGenerator
|
||||
namespace DungeonMapGenerator.Rooms
|
||||
{
|
||||
public enum RoomSide
|
||||
{
|
||||
|
|
@ -70,6 +70,11 @@ namespace DungeonMapGenerator
|
|||
{
|
||||
_loot.Add(loot);
|
||||
}
|
||||
|
||||
public List<LootType> GetLoot()
|
||||
{
|
||||
return _loot;
|
||||
}
|
||||
|
||||
public HashSet<int> GetAdjacentRoomIds()
|
||||
{
|
||||
Loading…
Add table
Add a link
Reference in a new issue