Ejemplo n.º 1
0
        private void ActionRoomMobs(GameAction action, int roomId)
        {
            var entities = _locations.GetEntitiesInRoom(roomId, x => !string.IsNullOrEmpty(x.Traits["race"]));

            foreach (var e in entities)
            {
                e.HandleAction(action);
            }
        }