コード例 #1
0
        public static bool Initialize(LogicEntry logic)
        {
            logicEntry = logic;

            if (logicEntry.Initialize() == false)
            {
                return(false);
            }

            return(true);
        }
コード例 #2
0
        public static bool DestroyLogic()
        {
            if (logicEntry == null)
            {
                return(false);
            }

            logicEntry.Dispose();
            logicEntry = null;

            return(true);
        }
コード例 #3
0
        public override bool CreateLogicSystem(LogicEntry logicEntry)
        {
            if (LogicHandler.Initialize(logicEntry) == false)
            {
                return(false);
            }

            IsLogicEnd = false;

            Task.Factory.StartNew(new Action(LogicThreadProcess));
            Task.Factory.StartNew(new Action(RPCThreadProcess));

            return(true);
        }
コード例 #4
0
 public static void SetLogic(LogicEntry logic)
 {
     logicEntry = logic;
 }
コード例 #5
0
 public abstract bool CreateLogicSystem(LogicEntry logicEntry);