void Update() { if (commands.Count < 1) { return; } IAgentCommand c = commands.Dequeue(); c.Execute(null); }
public void AddCommand(IAgentCommand c) { commands.Enqueue(c); }