Beispiel #1
0
        /// <summary>
        /// Loads all graphics content
        /// </summary>
        public override void LoadContent()
        {
            CameraManager.SetActiveCamera((int)CameraManager.CameraType.Overhead);
            CameraManager.ActiveCamera.Position  = new Vector3(0.0f, 0.0f, -30.0f);
            CameraManager.ActiveCamera.NearPlane = 0.1f;
            CameraManager.ActiveCamera.FarPlane  = 5000f;
            CameraManager.SetAllProjections(GameManager.AspectRatio);

            //Sky stuff here

            //Terrain stuff here

            ChatManager.AddChatBox(box);

            //Once loaded, reset the game time so it doesnt play catch up
            GameManager.Game.ResetElapsedTime();
        }