Exemplo n.º 1
0
        /// <summary>
        /// Loads the correct map assets for the current map.
        /// </summary>
        /// <param name="Content"></param>
        public static void LoadTestMap(ContentManager Content)
        {
            baseTexture = Content.Load <Texture2D>("Maps/TestMap");
            prop1       = Content.Load <Texture2D>("Props/TestProp");
            npc.LoadContent(Content);

            Managers.CollisionManager.AddToCollisionList(
                "testprop",
                prop1Position,
                new Vector2(prop1.Bounds.Width, prop1.Bounds.Height)
                );
        }