protected void PichunStateUpdate() { if (state == State.PICHUN) { if (time > (int)State.PICHUN) { Invincible((int)State.REBIRTH); StateSet(State.REBIRTH); life--; bomb = 3; if (life < 0) { parent.BattleEnd(score); } else { parent.ConvertEnemyBulletToItem(false); } } if (InputContllorer.IsPush(Keys.X) && bomb > 1) { Invincible((int)State.BOMB); StateSet(State.BOMB); bomb -= 2; } } }
protected void MoveStateUpdate() { shiftMove = InputContllorer.IsPress(Keys.LeftShift); if (InputContllorer.IsPush(Keys.X) && bomb > 0) { bomb--; Invincible((int)State.BOMB); StateSet(State.BOMB); } }