Ejemplo n.º 1
0
            public sortableLastSeen(Vector3D myPos, LastSeen seen, IMyCubeBlockExtensions.Relations relations)
            {
                this.seen      = seen;
                this.relations = relations;
                TimeSpan sinceLastSeen;

                predictedPos = seen.predictPosition(out sinceLastSeen);
                distance     = (int)(predictedPos - myPos).Length();
                seconds      = (int)sinceLastSeen.TotalSeconds;
            }