Asteroids.TSoundOption.BarCursorHeigthConvert C# (CSharp) Method

BarCursorHeigthConvert() public method

public BarCursorHeigthConvert ( ) : int
return int
        public int BarCursorHeigthConvert()
        {
            temp = (float)graphics.PreferredBackBufferHeight / barCursorHeigthFloat;

            barCursorHeigth = Convert.ToInt32(temp - 19);
            return barCursorHeigth;
        }