public void Start() { this.actions = new List <MinigameAction>(); this.currentActionIndex = 0; ButtonSequenceAction action = new ButtonSequenceAction(); action.addButton(new ButtonPressedAction(ButtonMashAction.ButtonToMash.A)); action.addButton(new ButtonPressedAction(ButtonMashAction.ButtonToMash.X)); action.addButton(new ButtonPressedAction(ButtonMashAction.ButtonToMash.Y)); this.actions.Add(action); }
/// <summary> /// Empty constructor. /// </summary> public MinigameActionManager() { this.actions = new List <MinigameAction>(); this.currentActionIndex = 0; ButtonSequenceAction action = new ButtonSequenceAction(); action.addButton(new ButtonPressedAction(ButtonMashAction.ButtonToMash.A)); action.addButton(new ButtonPressedAction(ButtonMashAction.ButtonToMash.X)); action.addButton(new ButtonPressedAction(ButtonMashAction.ButtonToMash.Y)); this.actions.Add(action); //this.actions.Add(new CollisionAction(GameManager.getObjectFromScene("DummyCookie"))); }