public ViewInitializer(BonusView bonusView, ButtonView buttonView, HealthView healthView, KeyView keyView, EndGameView endGameView) { _bonusView = bonusView; _buttonView = buttonView; _healthView = healthView; _keyView = keyView; _endGameView = endGameView; }
/// <summary> /// Let's Poppin' !! /// </summary> /// <param name="info">Poppin' するキー情報</param> private void LetsPoppin(KeyInfo info) { if (this.IsPoppinEnabled) { var w = this._keyViews.FirstOrDefault(x => x.IsBusy == false); var isExtra = w == null; if (isExtra) { w = new KeyView(); } w.Poppin(info, isExtra); } }
public AuthorizeDerivedKeyPage(int chainId, string derivedPassword) : base(chainId, "JoinChainPage") { _derivedPassword = derivedPassword; SetupPage(); AddSubmitSection(); AddHeaderRow("PrivatePublicKey"); _keyView = new KeyView(null, true); AddViewRow(_keyView); _export = AddEditorRow(null, "DerivedKeyInfo"); _export.SetDetailViewIcon(Icons.Info); AddInfoRow("DerivedInfo"); AddFooterRow(); }
public JoinChainPage(int chainId = 0, Key chainKey = null) : base(chainId, "JoinChainPage") { _useCoreAccount = chainKey == null; Subscribe <JoinChainEvent>(Joined); SetupPage(); AddSubmitSection(); if (!_useCoreAccount) { _chainKey = chainKey; AddHeaderRow("PublicKey"); var keyView = new KeyView(chainKey, false); AddViewRow(keyView); AddFooterRow(); } }
public void Execute() { ClickPoint.Update(); KeyView.Update(); }