Ejemplo n.º 1
0
 public override void Goto(Location location)
 {
     OnLeave();
     Game.instance.currentLocation = location;
     if (location.Locations == null)
     {
         location.Locations = new List<Location>()
         {
             this
         };
     }
     location.OnEnter();
 }
Ejemplo n.º 2
0
 public Game()
 {
     instance = this;
     currentLocation = new Town("<NAME>", false);
     Start();
 }
Ejemplo n.º 3
0
 public abstract void Goto(Location location);