예제 #1
0
        //public void ChangeArea(int )
        public Map ChangeArea(int mapID, PositionKey playerPos)
        {
            //TODO try in map when experimenting:
            //movementMod = false;
            //ChangeArea(replace params with structs)
            Map map = ZoneList.mapIDList[mapID];

            map.InitializePlayerPosition(playerPos.i, playerPos.j);

            return(map);
        }
예제 #2
0
 public void CreateZonePoint(PositionKey position, DestinationCoordinates destination)
 {
     thisMap[position.i, position.j] = zonePos;
     zonePoints.Add(position, destination);
 }