SmartboyDevelopments.Haxxit.MonoGame.GameStates.TutorialState.Init C# (CSharp) Method

Init() public method

public Init ( ) : void
return void
        public override void Init()
        {
            display_map_state.Update();
            departureTime = System.Environment.TickCount + 3000;
            mWindowWidth = GlobalAccessors.mGame.Window.ClientBounds.Width;
            mWindowHeight = GlobalAccessors.mGame.Window.ClientBounds.Height;

            mPlayer1Tutorial = GlobalAccessors.mPlayer1;

            xOffset = mWindowWidth / 10;
            yOffset = mWindowHeight / 15;

            ContinueButtonRect = new Rectangle(mWindowWidth - xOffset, mWindowHeight - yOffset, xOffset, yOffset);
        }