public void Initialize(MoteurJeu _moteurJeu, Vector2 _camera)
        {
            this._camera = _camera;

            _spriteCarte1   = new SpriteCarte(_moteurJeu.Carte1, 1, _camera);
            _spriteCarte2   = new SpriteCarte(_moteurJeu.Carte2, 2, _camera);
            _spriteIU       = new SpriteIU();
            _spriteDecor    = new SpriteDecor(_moteurJeu.ElementDecor, _camera);
            this._moteurJeu = _moteurJeu;
        }
        public void Initialize(MoteurJeu _moteurJeu, Vector2 _camera)
        {
            this._camera = _camera;

            _spriteCarte1 = new SpriteCarte(_moteurJeu.Carte1, 1, _camera);
            _spriteCarte2 = new SpriteCarte(_moteurJeu.Carte2, 2, _camera);
            _spriteIU = new SpriteIU();
            _spriteDecor = new SpriteDecor(_moteurJeu.ElementDecor, _camera);
            this._moteurJeu = _moteurJeu;
        }
示例#3
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            this.IsMouseVisible   = true;

            _moteurPhysique  = new MoteurPhysique();
            _moteurGraphique = new MoteurGraphique();
            _moteurJeu       = new MoteurJeu();
            _moteurSysteme   = new MoteurSysteme();
        }
示例#4
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            this.IsMouseVisible = true;

            _moteurPhysique = new MoteurPhysique();
            _moteurGraphique = new MoteurGraphique();
            _moteurJeu = new MoteurJeu();
            _moteurSysteme = new MoteurSysteme();
        }