Esempio n. 1
0
        public virtual bool Put(CoordStruct XYZ)
        {
            Location = XYZ;
            InLimbo  = false;
            IsSensed = false;

            var xy = XYZ.ToCell();

            MapClass.Instance.GetCellAt(xy).AddContent(this);

            return(true);
        }
Esempio n. 2
0
        public virtual bool Put(CoordStruct XYZ)
        {
            Location = XYZ;
            InLimbo = false;
            IsSensed = false;

            var xy = XYZ.ToCell();

            MapClass.Instance.GetCellAt(xy).AddContent(this);

            return true;
        }
Esempio n. 3
0
        public virtual CellClass GetCell()
        {
            var xy = Location.ToCell();

            return(MapClass.Instance.GetCellAt(xy));
        }