private List <List <Vector2> > GenerateAllowedIndexesForPawn() { List <List <Vector2> > moves = new List <List <Vector2> >(); moves.Add(AllowedMovesGenerator.GetMovesForDirection(1, 0, 2)); return(moves); }
public List <List <Vector2> > GetAllowedMoves() { List <List <Vector2> > moves = new List <List <Vector2> >(); moves.Add(AllowedMovesGenerator.GetMovesForDirection(1, 0, 3)); return(moves); }
public List <List <Vector2> > GetAllowedMoves() { List <List <Vector2> > moves = new List <List <Vector2> >(); moves.Add(AllowedMovesGenerator.GetMovesForDirection(-1, 1, Constants.TABLE_SIZE)); moves.Add(AllowedMovesGenerator.GetMovesForDirection(1, 1, Constants.TABLE_SIZE)); moves.Add(AllowedMovesGenerator.GetMovesForDirection(1, -1, Constants.TABLE_SIZE)); moves.Add(AllowedMovesGenerator.GetMovesForDirection(-1, -1, Constants.TABLE_SIZE)); return(moves); }
private List <List <Vector2> > GenerateAllowedIndexesForRook() { List <List <Vector2> > moves = new List <List <Vector2> >(); moves.Add(AllowedMovesGenerator.GetMovesForDirection(-1, 0, Constants.TABLE_SIZE)); moves.Add(AllowedMovesGenerator.GetMovesForDirection(0, 1, Constants.TABLE_SIZE)); moves.Add(AllowedMovesGenerator.GetMovesForDirection(1, 0, Constants.TABLE_SIZE)); moves.Add(AllowedMovesGenerator.GetMovesForDirection(0, -1, Constants.TABLE_SIZE)); return(moves); }