1 using Microsoft.Xna.Framework;
3 using System.Collections.Generic;
45 this.prefab =
prefab ??
throw new ArgumentNullException(nameof(
prefab));
66 return $
"Finished: {IsFinished.ColorizeObject()}";
69 public virtual void Update(
float deltaTime)
override string ToString()
virtual string GetDebugInfo()
virtual void Update(float deltaTime)
virtual bool LevelMeetsRequirements()
Func< Level.InterestingPosition, bool > SpawnPosFilter
Event(EventPrefab prefab, int seed)
virtual Vector2 DebugDrawPos
virtual IEnumerable< ContentFile > GetFilesToPreload()
readonly EventPrefab prefab
virtual void InitEventSpecific(EventSet parentSet=null)
void Init(EventSet parentSet=null)
Event sets are sets of random events that occur within a level (most commonly, monster spawns and scr...