Most basic event action manager.
5 using System.Collections.Generic;
6 using System.Runtime.Serialization;
11 public abstract class MEvent
14 public string Name { get; protected set; }
17 public string Description { get; protected set; }
19 public abstract void Trigger();
23 public abstract class Event : MEvent
25 public List<Action> Actions;
29 Actions = new List<Action>();
32 public override void Trigger()
34 Console.WriteLine("Event '" + Name + "' triggered.");
35 foreach (Action action in Actions)