private void UpdateIdle() { if (_mouseStatus.GetMouseJustDown(MouseStatus.KEY.LEFT) && IsTouchBgLayer(touch_Panel)) { _touchBeganTime = TimeHelper.GetCurrentRealTimestamp(); _touchBeganPos = _mouseStatus.GetMousePos(); _state = STATE.HOLDING; } }
private void UpdateIdle() { if (_game.state != BattleGame.STATE.BATTLE) { return; } if (_mouseStatus.GetMouseJustDown(MouseStatus.KEY.LEFT)) { _touchBeganTime = TimeHelper.GetCurrentRealTimestamp(); _touchBeganPos = _mouseStatus.GetMousePos(); _state = STATE.HOLDING; } }