using System.Collections.Generic; using UnityEngine; namespace DunGen { /// /// Base class for all random props /// public abstract class RandomProp : MonoBehaviour { /// /// Process the random prop. DunGen will call this method on any GameObject in the dungeon /// /// Seeded random number generator /// Owning tile /// An output list of objects that have been spawned in this function, to be passed back to DunGen for further processing public abstract void Process(RandomStream randomStream, Tile tile, ref List spawnedObjects); } }