public int Go() { int unrealProgres; while (tilesCoords.Count != 0) { hikePlacement = tilesCoords[0]; unrealProgres = ReadLoadTile.ReadTileById(Map.GetTileByCoords(hikePlacement)).Walk(this, progress); if (unrealProgres != -1) { progress = unrealProgres; ReadLoadHike.SaveHike(this); return(0); } progress = 0; tilesCoords.RemoveAt(0); Downtime(); } quest.Play(this); if (!endOfTheHike) { PlayerInteractions.ContinueHike(this).Go(); } return(1); }
public void play(Hike nowHike) { if (PlayerInteractions.ChoosePassiveUse(passiveUseName, nowHike) >= requiredLevel) { Console.WriteLine(gDescription); nextEventt.Play(nowHike); } else { Console.WriteLine(bDescription); } }
public void play(Hike nowHike) { Character subject; subject = PlayerInteractions.ChooseCharacter(nowHike); if (Functions.TestCharacter(attribute, talent, difficulty, subject)) { nextGoodEventt.Play(nowHike); } else { nextBadEventt.Play(nowHike); } }
public void play(Hike nowHike) { nextEventt.Play(nowHike); }