public void generatePaperProposal(ItemElementInfo element, ItemRitualInfo ritual) { PaperProposalInfo paperInfo = new PaperProposalInfo(); paperInfo.element = element.id; paperInfo.ritual = ritual.id; }
void generateProposal(bool doit) { //create paper proposal PaperProposalInfo info = new PaperProposalInfo(); info.element = element; info.ritual = ritual; if (doit) { info.state = paperProposalState.selected; } else { info.state = paperProposalState.cancelled; } Inventory.Instance.addPaperProposal(info); GetComponent <UIView>().Hide(); }
public void addPaperProposal(PaperProposalInfo info) { paperProposals[info.id] = info; }