Пример #1
0
        public static NPC RandomMovingNPC(int width, int height)
        {
            Tuple <int, int> randoms = randomXY(width, height);
            MovingNPC        npc     = new MovingNPC(randoms.Item1, randoms.Item2);

            return(npc);
        }
Пример #2
0
 public static NPC RandomMovingNPC(int width, int height)
 {
     Tuple<int, int> randoms = randomXY(width, height);
     MovingNPC npc = new MovingNPC(randoms.Item1, randoms.Item2);
     return npc;
 }