Esempio 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);
        }
Esempio 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);
        }