Exemplo n.º 1
0
        public gamemain()
        {
            agrid = new grid(10, 10, this);

            objects = new List<Igameobject>();
            Igameobject onenpc = new npc(this);
            insertObject(onenpc, 0, 0);
            activeIndex = Tuple.Create(0, 0);
            setActive(onenpc);
        }
Exemplo n.º 2
0
        public gamemain()
        {
            agrid = new grid(10, 10, this);

            objects = new List <Igameobject>();
            Igameobject onenpc = new npc(this);

            insertObject(onenpc, 0, 0);
            activeIndex = Tuple.Create(0, 0);
            setActive(onenpc);
        }
Exemplo n.º 3
0
 void agrid_SimpleEvent(object sender, grid.SomeEventArgs e)
 {
     selectedindex = e.arg;
     myaction();
     agrid.SimpleEvent -= agrid_SimpleEvent;
 }