public void undo() { ActionAPI action = this.actions.Pop(); action.undo(); throw new NotImplementedException(); }
public async Task <Embed> GetAction(ulong itemId) { XIVAPI.Action action = await ActionAPI.Get(itemId); EmbedBuilder embed = action.ToEmbed(); return(embed.Build()); }
/// <summary> /// Adds an action performed during the turn /// </summary> public void addAction(ActionAPI a) { this.actions.Push(a); }