Ejemplo n.º 1
0
 public ActionMouse(Game1 game , Camera came)
 {
     this.came = came;
     oldms = Mouse.GetState();
     ms = Mouse.GetState();
     this.game = game;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
        game.Run();
     }//*/
 }
Ejemplo n.º 3
0
        public InventoryInterface(Texture2D image,Texture2D cadre, Texture2D background , Texture2D backindows , Game1 game)
            : base(game)
        {
            backwind = backindows;
            this.game = game;
            tex = image;
            back = background;
            this.cadre = cadre;
            this.DrawOrder = 9000;
            Visible = false;
            game.Components.Add(this);
            decalage = new Vector2((Tools.Quick.graphics.PreferredBackBufferWidth/2 - back.Bounds.Width) / 2, ( Tools.Quick.graphics.PreferredBackBufferHeight -back.Bounds.Height ) / 2);
            Load("interfaceinit.conf");
            fenstat = new FenetreStat(Tools.Quick.player, cadre);

            isi = new InventoryStockableInterface(cadre,TypeSacoche.Crochet,TypeSacoche.Potion,new Rectangle(Tools.Quick.graphics.PreferredBackBufferWidth/2 ,Tools.Quick.graphics.PreferredBackBufferHeight/2,Tools.Quick.graphics.PreferredBackBufferWidth/2 ,Tools.Quick.graphics.PreferredBackBufferHeight/2),this);
        }
Ejemplo n.º 4
0
 public void save(Game1 game , Map map)
 {
 }