public virtual void OnB(object nothing, ButtonFireEventArgs e) { if (!e.previouslyDown && ! isFading) { FadeOut(e.gameTime); if (Shorewood.freeSpellMode.Visible) { Shorewood.freeSpellMode.Hide(); } } }
protected virtual void OnRightShoulder(object sender, ButtonFireEventArgs args) { MoveRight(args.gameTime); }
private void OnPause(object sender, ButtonFireEventArgs args) { if ((gameState == GameState.PlayingNormalGameplay)&& !args.previouslyDown) { gameState = GameState.Paused; } }
public override void OnB(object sender, ButtonFireEventArgs args) { TransitionTo(parentDialogType,args.gameTime); }
protected virtual void OnSelect(object sender, ButtonFireEventArgs a) { if (!Shorewood.popUpManager.IsActive) { if (!a.previouslyDown) { DialogResult = DialogResult.A; } } }
protected virtual void OnMoveUp(object sender, ButtonFireEventArgs a) { if (!Shorewood.popUpManager.IsActive) { if (!a.previouslyDown) { MoveUp(); } } }
public virtual void OnY(object sender, ButtonFireEventArgs a) { if (!Shorewood.popUpManager.IsActive) { if (Shorewood.IsTrial && AllowPurchase ) { Shorewood.popUpManager.ShowDialog(PopUpType.Purchase, a.gameTime, null); } } }
public virtual void OnX(object sender, ButtonFireEventArgs a) { if (!Shorewood.popUpManager.IsActive) { } }
public void OnTrigger(object sender, ButtonFireEventArgs args) { if (!args.previouslyDown && gameplayState == NormalGameplayState.CurrentLetterActive && !Shorewood.dialogManager.IsActive) { if (gridRenderer.grid.validWords.Count > 0) { gameplayState = NormalGameplayState.FindingWords; } } }
public void OnRight(object sender, ButtonFireEventArgs args) { if (!args.previouslyDown && gameplayState == NormalGameplayState.CurrentLetterActive && !Shorewood.dialogManager.IsActive) { MoveRight(); } }