Beispiel #1
0
        private void UpdateVelocityY(short y)
        {
            CheckVelocity();

            _velocity = new TwoAxis(_velocity.X, y);
        }
Beispiel #2
0
 private void CheckVelocity()
 {
     if (_velocity == null)
         _velocity = new TwoAxis();
 }
Beispiel #3
0
        private void UpdateVelocityX(short x)
        {
            CheckVelocity();

            _velocity = new TwoAxis(x, _velocity.Y);
        }
Beispiel #4
0
        private void UpdateOdometerX(short x)
        {
            CheckOdometer();

            _odometer = new TwoAxis(x, _odometer.Y);
        }
Beispiel #5
0
        private void UpdateOdometerY(short y)
        {
            CheckOdometer();

            _odometer = new TwoAxis(_odometer.X, y);
        }
Beispiel #6
0
 private void CheckOdometer()
 {
     if (_odometer == null)
         _odometer = new TwoAxis();
 }
Beispiel #7
0
        private void UpdateVelocityY(short y)
        {
            CheckVelocity();

            _velocity = new TwoAxis(_velocity.X, y);
        }
Beispiel #8
0
        private void UpdateVelocityX(short x)
        {
            CheckVelocity();

            _velocity = new TwoAxis(x, _velocity.Y);
        }
Beispiel #9
0
        private void UpdateOdometerY(short y)
        {
            CheckOdometer();

            _odometer = new TwoAxis(_odometer.X, y);
        }
Beispiel #10
0
        private void UpdateOdometerX(short x)
        {
            CheckOdometer();

            _odometer = new TwoAxis(x, _odometer.Y);
        }