Files
pgs/Assets/Scripts/State/Location.cs

25 lines
548 B
C#
Raw Permalink Normal View History

2026-02-21 16:58:22 -08:00
using Com.LuisPedroFonseca.ProCamera2D;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Mapping of SceneManager.buildIndex to canonical map names.
public enum MapID {
Town,
Valley1
}
public class Location {
public MapID mapID;
public int portalIndex;
public Location(MapID mapID, int portalIndex) {
this.mapID = mapID;
this.portalIndex = portalIndex;
}
// public Scene
}
public class LocationHistory {
public Stack<Location> history = new Stack<Location>();
}