示例#1
0
文件: Mission.cs 项目: xandrd/Kistory
        public bool is_too_soon(Entry previousEntry, Vessel ves, double timeMargin)
        {
            if (previousEntry != null)
            {
                KDebug.Log("Too Soon! ", KDebug.Type.EVENT);
                return Math.Abs(previousEntry.get_time() - Entry.entry_time(ves)) < timeMargin;
            }

            else return false;
        }