private void AllowPassage(IAdventurePlayer player) { var addMove1 = new AddMoves(new List <IPlayerMove> { new PlayerMove(string.Empty, Location.TrollBridge, "northeast", "ne"), }, Game, Location.SouthWestOfChasm); addMove1.Do(player, null); var addMove2 = new AddMoves(new List <IPlayerMove> { new PlayerMove(string.Empty, Location.TrollBridge, "southwest", "sw"), }, Game, Location.NorthEastOfChasm); addMove2.Do(player, null); }
void AddHetmanMoves(int x, int y) { AddMoves(x, y, (x - 1, y - 1), (x - 1, y + 0), (x - 1, y + 1), (x + 0, y - 1), (x + 0, y + 1), (x + 1, y - 1), (x + 1, y + 0), (x + 1, y + 1)); }
void AddSkoczekMoves(int x, int y) { AddMoves(x, y, (x + 2, y + 1), (x + 2, y - 1), (x + 1, y + 2), (x + 1, y - 2), (x - 1, y + 2), (x - 1, y - 2), (x - 2, y + 1), (x - 2, y - 1)); }