상속: kOS.Suffixed.SpecialValue
예제 #1
0
파일: Suffixed.cs 프로젝트: CalebJ2/KOS
        public override void Execute(SharedObjects shared)
        {
            var when = GetTimeSpan(PopValueAssert(shared));
            var what = GetOrbitable(PopValueAssert(shared));
            AssertArgBottomAndConsume(shared);

            ReturnValue = new OrbitInfo( what.GetOrbitAtUT(when.ToUnixStyleTime()), shared );
        }
예제 #2
0
파일: Suffixed.cs 프로젝트: EbbiDos/KOS
        public override void Execute(SharedObjects shared)
        {
            var when = GetTimeSpan(shared.Cpu.PopValue());
            var what = GetOrbitable(shared.Cpu.PopValue());

            var orb = new OrbitInfo( what.GetOrbitAtUT(when.ToUnixStyleTime()), shared );

            shared.Cpu.PushStack(orb);
        }