Exemplo n.º 1
0
        public static void Initialize(BoardController board, Type managerType)
        {
            ConstructorInfo[] ctors = managerType.GetConstructors();
            object[] args = new object[1];
            args[0] = board;

            sInstance = ctors[0].Invoke(args) as IAIManager;
        }
Exemplo n.º 2
0
        public static void Initialize(BoardController board, Type managerType)
        {
            ConstructorInfo[] ctors = managerType.GetConstructors();
            object[]          args  = new object[1];
            args[0] = board;

            sInstance = ctors[0].Invoke(args) as IAIManager;
        }
Exemplo n.º 3
0
 public static void Unload()
 {
     sInstance = null;
 }
Exemplo n.º 4
0
 public static void Unload()
 {
     sInstance = null;
 }