public void infobulleunshow()
 {
     info.unshow();
     info = null;
 }
        public void generateinfobulle(Vector2 pos)
        {
            if (position.Contains((int)pos.X,(int) pos.Y))
            {

            if (info != null)
            {
                infobulleunshow();
            }
            int x = (int)pos.X;
            int y = (int)pos.Y;

            int numelex =Convert.ToInt16( Math.Floor((((float)(x-position.X)) / ((float)actualsize))+1));
            int numeley = Convert.ToInt16( Math.Floor((((float)(y - position.Y)) / ((float)actualsize))));
            int nbele = (position.Location.X + position.Width) / actualsize;

            int num = nbele * numeley + numelex;

            List<Inventory.ObjQte> possess = Tools.Quick.player.getInventory().getObjects(ongletActif);

            if (possess.Count > num)
            {
                List<string> inf = new List<string>();
                inf.Add(possess[num].obj.nomaffichage);
                inf.Add(possess[num].obj.value.ToString() + " po");
                info = new Infobulle(inf,parent.backwind , pos, this, possess[num]);
                Console.WriteLine(num);
            }

            }
        }