Dodgeball.Game.Player.onThrowCallback C# (CSharp) Метод

onThrowCallback() публичный Метод

public onThrowCallback ( int frameIndex ) : void
frameIndex int
Результат void
        void onThrowCallback(int frameIndex)
        {
            int teamDirection = onLeft ? 1 : -1;
              if(frameIndex > 0) {
            x += throwOffsets[(int)heading][frameIndex - 1].X * teamDirection;
            y += throwOffsets[(int)heading][frameIndex - 1].Y * teamDirection;
              }
        }