// CActivity 実装 public override void OnActivate() { this.nCurrentCombo = new STCOMBO() { act = this }; this.status = new CSTATUS(); for (int i = 0; i < 3; i++) { this.status[i].e現在のモード = EMode.非表示中; this.status[i].nCOMBO値 = 0; this.status[i].n最高COMBO値 = 0; this.status[i].n現在表示中のCOMBO値 = 0; this.status[i].n残像表示中のCOMBO値 = 0; this.status[i].nジャンプインデックス値 = 99999; this.status[i].n前回の時刻_ジャンプ用 = -1; this.status[i].nコンボが切れた時刻 = -1; } this.nUnitTime = (float)((60 / CDTXMania.DTX.BPM) / 4) * 10; this.ctコンボ = new CCounter(0, 1, (int)this.nUnitTime, CDTXMania.Timer); this.ctAnimation = new CCounter(0, 130, 4, CDTXMania.Timer); this.ctComboAnimation_2P = new CCounter(0, 130, 4, CDTXMania.Timer); base.OnActivate(); }
public override void On非活性化() { if (this.status != null) { this.status = null; } base.On非活性化(); }
public override void OnDeactivate() { if (this.status != null) { this.status = null; } base.OnDeactivate(); }
// CActivity 実装 public override void On活性化() { this.n現在のコンボ数 = new STCOMBO() { act = this }; this.status = new CSTATUS(); this.ctコンボ加算 = new CCounter[4]; for (int i = 0; i < 4; i++) { this.status[i].e現在のモード = EMode.非表示中; this.status[i].nCOMBO値 = 0; this.status[i].n最高COMBO値 = 0; this.status[i].n現在表示中のCOMBO値 = 0; this.status[i].n残像表示中のCOMBO値 = 0; this.status[i].nジャンプインデックス値 = 99999; this.status[i].n前回の時刻_ジャンプ用 = -1; this.status[i].nコンボが切れた時刻 = -1; this.ctコンボ加算[i] = new CCounter(0, 12, 12, TJAPlayer3.Timer); } this.ctコンボラメ = new CCounter(0, 29, 20, TJAPlayer3.Timer); base.On活性化(); }