TerrainDisplay.Game1.Game1 C# (CSharp) Method

Game1() public method

Constructor for the game.
public Game1 ( Microsoft.Xna.Framework.Vector3 avatarPosition ) : System
avatarPosition Microsoft.Xna.Framework.Vector3
return System
        public Game1(Vector3 avatarPosition)
        {
            Game1.avatarPosition = avatarPosition;
            _graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            avatarYaw = 90;
        }