Beispiel #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();
 }
Beispiel #2
0
 public Game()
 {
     instance = this;
     currentLocation = new Town("<NAME>", false);
     Start();
 }
Beispiel #3
0
 public abstract void Goto(Location location);