예제 #1
0
파일: Game1.cs 프로젝트: Widoo/projet_SBS
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);
            Content.RootDirectory = "Content";
            Texture2D map = Content.Load<Texture2D>("Map");

            Ressources.LoadContent(Content);
            int largeur = 0;
            int hauteur = 0;
            Lecture.lire(ref largeur, ref hauteur);
            editeur = new Editeur(Ressources.Map, Ressources.valide,Ressources.invalide,hauteur,largeur);
        }
예제 #2
0
        protected override void LoadContent()
        {
            spriteBatch           = new SpriteBatch(GraphicsDevice);
            Content.RootDirectory = "Content";
            Texture2D map = Content.Load <Texture2D>("Map");

            Ressources.LoadContent(Content);
            int largeur = 0;
            int hauteur = 0;

            Lecture.lire(ref largeur, ref hauteur);
            editeur = new Editeur(Ressources.Map, Ressources.valide, Ressources.invalide, hauteur, largeur);
        }