예제 #1
0
        public void SetCurrentMap(SegLoc map)
        {
            exitMap();

            if (map.IsValid())
            {
                if (map.Segment > -1)
                {
                    CurrentMap = GetMap(map);
                }
                else
                {
                    CurrentGround = GetGround(map);
                }
            }
            CurrentMapID = map;
        }
예제 #2
0
 public bool IsValid()
 {
     return((ID > -1) && StructID.IsValid());
 }