public CommandInstance(GameObjects.Events.EventPage page, List <EventCommand> commandList, int listIndex = 0) { Page = page; CommandList = commandList; CommandIndex = listIndex; }
public CommandInstance(GameObjects.Events.EventPage page, Guid commandListId, int listIndex = 0) { Page = page; CommandList = page.CommandLists[commandListId]; CommandIndex = listIndex; }
public CommandInstance(GameObjects.Events.EventPage page, int listIndex = 0) { Page = page; CommandList = page.CommandLists.Values.First(); CommandIndex = listIndex; }