public void WireCommands() { UseExitCommand = new Editor.RelayCommand <ExitWrapper>(UseExit); ExamineCommand = new Editor.RelayCommand <InteractableWrapper>(ExamineObject); InteractCommand = new Editor.RelayCommand <InteractableWrapper>(InteractObject); ViewInventoryCommand = new Editor.RelayCommand(ViewInventory); ViewEquipmentCommand = new Editor.RelayCommand(ViewEquipment); ExploreModeCommand = new Editor.RelayCommand(SetExploreMode); UseItemCommand = new Editor.RelayCommand(UseItem); DropItemCommand = new Editor.RelayCommand(DropItem); EquipItemCommand = new Editor.RelayCommand(EquipItem); UnequipItemCommand = new Editor.RelayCommand(UnequipItem); SaveCommand = new Editor.RelayCommand(SaveGame); }
public ConversationWrapper(Conversation c) { Convo = c; CurrentStage = c.StartingStage; GoToStageCommand = new Editor.RelayCommand <int>(GoToStage); }