|
|||||||||
| Home >> All >> com >> textflex >> [ txtfl overview ] | PREV NEXT | ||||||||
A
- ABOUT - Static variable in class com.textflex.txtfl.Txtfl
- about(Team) - Method in class com.textflex.txtfl.Txtfl
- Display information about tXtFL as a program.
- accept(File, String) - Method in class com.textflex.txtfl.EndsWithFileFilter
- Aceepts the file if its name ends withe specified string,
endsWith. - add(String) - Method in class com.textflex.txtfl.EndsWithFileFilter
- Sets the required ending.
- addComboEntry(String, Combo, boolean) - Static method in class com.textflex.txtfl.Txtfl
- Adds an entry to a combo box.
- addDrivePlay(DrivePlay, boolean) - Method in class com.textflex.txtfl.Txtfl
- Adds a play to the array of drives and their plays.
- addPlay(Play, Play[], int) - Method in class com.textflex.txtfl.Team
- Adds a play to the the given playlist.
- addPrimPlayStat(String, String, int, String, int, String) - Method in class com.textflex.txtfl.DrivePlay
- Adds a primary play stat.
- addSupplPlayStat(String, String, int, String) - Method in class com.textflex.txtfl.DrivePlay
- Adds a supplementary play stat.
- addToRoster(Player, Player[], int) - Method in class com.textflex.txtfl.Team
- Adds the given player to the given roster.
- answerChoices(String[], boolean) - Static method in class com.textflex.txtfl.Txtflo
- appendToTextDisp(String, Text) - Static method in class com.textflex.txtfl.Txtfl
- Appends text to the display output text area.
- assignPlayPlayers(Play) - Method in class com.textflex.txtfl.Team
- Assigns the players for the given play.
- autoPlayCategory(Team) - Method in class com.textflex.txtfl.Txtfl
- Probabilistically choose the appropriate play category.
B
- BACK - Static variable in class com.textflex.txtfl.Txtfl
- BLOCKED - Static variable in class com.textflex.txtfl.Txtfl
- ballCarrier - Variable in class com.textflex.txtfl.Team
- block - Variable in class com.textflex.txtfl.Player
- blockingFumble(Play[], int, boolean) - Method in class com.textflex.txtfl.Txtfl
- Front-end for fumbles behind the line of scrimmage, fumbles that the defensive line usually causes.
- blockingFumble(Play[], int) - Method in class com.textflex.txtfl.Txtfl
- Front-end for fumbles behind the line of scrimmage during normal, non-try plays.
C
- COMPLETE - Static variable in class com.textflex.txtfl.Txtfl
- category - Variable in class com.textflex.txtfl.Play
- checkFumble(Play, int) - Method in class com.textflex.txtfl.Txtfl
- Checks if the play results in a fumble.
- choosePlay() - Method in class com.textflex.txtfl.Txtfl
- Solicits play calls according to the number of users and whether each user is presently on offense or defense.
- cleanUp() - Method in class com.textflex.txtfl.Txtfl
- Cleans up system resources before exiting.
- clearCurrentPlayers() - Method in class com.textflex.txtfl.Team
- Clears the current-players list, replacing them with an empty array.
- clearImmediatePlayers() - Method in class com.textflex.txtfl.Team
- Clear the list of immediate players.
- clearPlays() - Method in class com.textflex.txtfl.Team
- Clears the present roster and playlist, replacing them with an empty array.
- clearRoster() - Method in class com.textflex.txtfl.Team
- Clears the present roster and current-players list, replacing them with empty arrays.
- client - Static variable in class com.textflex.txtfl.Txtfl
- clone() - Method in class com.textflex.txtfl.Play
- Clones the object in compliance with the Cloneable interface.
- clone() - Method in class com.textflex.txtfl.Player
- Clones the current object of this class.
- coinToss() - Method in class com.textflex.txtfl.Txtfl
- Allows selection of the coin toss and determination of which team receives the kickoff first.
- coinTossKickoff() - Method in class com.textflex.txtfl.Txtfl
- colWidth - Static variable in class com.textflex.txtfl.Txtfl
- com.textflex.txtfl - package com.textflex.txtfl
- convertDown(int) - Static method in class com.textflex.txtfl.Txtflo
- Converts a down number into a ordinal format.
- convertQuarter(int) - Static method in class com.textflex.txtfl.Txtflo
- Converts a quarter number into a ordinal format.
- convertScores(int, int, String, String) - Static method in class com.textflex.txtfl.Txtflo
- convertTime(int) - Static method in class com.textflex.txtfl.Txtflo
- Converts the time from seconds to
min:secformat. - createDisplay() - Method in class com.textflex.txtfl.Txtfl
- Creates the SWT Graphical User Interface display.
- currDrivePlay - Variable in class com.textflex.txtfl.Txtfl
- currentPlayers - Variable in class com.textflex.txtfl.Team
- currentPlayersIndex - Variable in class com.textflex.txtfl.Team
D
- DrivePlay - class com.textflex.txtfl.DrivePlay.
- A record of the statistics for a given play during the given drive.
- DrivePlay(String, String, int, int, String, int, int, int, int) - Constructor for class com.textflex.txtfl.DrivePlay
- defender - Variable in class com.textflex.txtfl.PlayStat
- defender - Variable in class com.textflex.txtfl.Team
- defender - Variable in class com.textflex.txtfl.Txtfl
- defense - Variable in class com.textflex.txtfl.DrivePlay
- deliverer - Variable in class com.textflex.txtfl.PrimaryPlayStat
- deliverer - Variable in class com.textflex.txtfl.Txtfl
- deliveryDist - Variable in class com.textflex.txtfl.PrimaryPlayStat
- deliveryDist - Variable in class com.textflex.txtfl.Txtfl
- dfPlay - Variable in class com.textflex.txtfl.DrivePlay
- dfPlayType - Variable in class com.textflex.txtfl.DrivePlay
- dfScore - Variable in class com.textflex.txtfl.DrivePlay
- disp - Static variable in class com.textflex.txtfl.Txtfl
- dist - Variable in class com.textflex.txtfl.Play
- down - Variable in class com.textflex.txtfl.DrivePlay
- down - Variable in class com.textflex.txtfl.Txtfl
- driveCombo - Static variable in class com.textflex.txtfl.Txtfl
- drivePlayHistDisp() - Method in class com.textflex.txtfl.Txtfl
- drivePlayIndex - Variable in class com.textflex.txtfl.Txtfl
- drives - Variable in class com.textflex.txtfl.Txtfl
- drivesIndex - Variable in class com.textflex.txtfl.Txtfl
- dropkickDist(Play, int, int) - Method in class com.textflex.txtfl.Txtfl
- Handles place kicking distances.
E
- END_GAME - Static variable in class com.textflex.txtfl.Txtfl
- EXTRA_POINT - Static variable in class com.textflex.txtfl.Txtfl
- EndsWithFileFilter - class com.textflex.txtfl.EndsWithFileFilter.
- Filters filenames to select only files with particular endings.
- EndsWithFileFilter() - Constructor for class com.textflex.txtfl.EndsWithFileFilter
- endGame() - Method in class com.textflex.txtfl.Txtfl
- Closes the game.
- endGame(boolean) - Method in class com.textflex.txtfl.Txtfl
- Closes the game.
- endsWith - Variable in class com.textflex.txtfl.EndsWithFileFilter
F
- FIELD_GOAL - Static variable in class com.textflex.txtfl.Txtfl
- FUMBLE - Static variable in class com.textflex.txtfl.Txtfl
- FUMBLE_RECOVERY - Static variable in class com.textflex.txtfl.Txtfl
- fairCatch() - Method in class com.textflex.txtfl.Txtfl
- Selects fair catch choice.
- fieldGoalPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Kicks a field goal attempt Handles the yards, time, down, and yards to go changes.
- finalStats() - Method in class com.textflex.txtfl.Txtfl
- Determines the winner and displays the final game statistics.
- firstDown() - Method in class com.textflex.txtfl.Txtfl
- Handles first downs.
- fumble(Play[], int, boolean) - Method in class com.textflex.txtfl.Txtfl
- Handles fumbles.
- fumble(Play[], int) - Method in class com.textflex.txtfl.Txtfl
- Front-end to general fumbles, as opposed to those during try attempts.
G
- GOOD - Static variable in class com.textflex.txtfl.Txtfl
- gameRestorer() - Method in class com.textflex.txtfl.Txtfl
- Restores a saved game from the selected file.
- gameSaver() - Method in class com.textflex.txtfl.Txtfl
- gameSelection() - Method in class com.textflex.txtfl.Txtfl
- genericIndex - Static variable in class com.textflex.txtfl.Txtfl
- getAssignedPlayerByPosition(String) - Method in class com.textflex.txtfl.Team
- Gets the assigned player for the given position.
- getAssignedPlayerNameByPosition(String) - Method in class com.textflex.txtfl.Team
- Gets the assigned player's name for the given position First searches through the immediate players list before scanning through the current players lists.
- getBallCarrier() - Method in class com.textflex.txtfl.Team
- Gets the ball carrier.
- getBallCarrierName() - Method in class com.textflex.txtfl.Team
- Gets the current ball carrier's name.
- getBallCarrierPosition() - Method in class com.textflex.txtfl.Team
- Gets the current ball carrier's position.
- getBlock() - Method in class com.textflex.txtfl.Player
- Gets the current player's blocking ability.
- getBlock(Play, String) - Method in class com.textflex.txtfl.Team
- Gets the blocking value for the player assigned to a given position in a play spec.
- getCategory() - Method in class com.textflex.txtfl.Play
- Gets the category of the play.
- getChoice(BufferedReader, PrintWriter) - Static method in class com.textflex.txtfl.Txtfl
- Gets a choice from the human user via the command line or input text area.
- getChoice(BufferedReader) - Static method in class com.textflex.txtfl.Txtfl
- Front-end for getting a choice from the human user via the command line or input text area.
- getChoiceOrRandom(BufferedReader, PrintWriter, int, int) - Static method in class com.textflex.txtfl.Txtfl
- Gets a numerical choice from the human user via the command line or input text area, with the option of having the computer choose randomly.
- getChoiceOrRandom(BufferedReader, int, int) - Static method in class com.textflex.txtfl.Txtfl
- Front-end for getting a numerical choice from the human user via the command line or input text area, with the option of having the computer choose randomly.
- getChoiceOrRandom(BufferedReader, PrintWriter, int) - Static method in class com.textflex.txtfl.Txtfl
- Front-end for getting a numerical choice from the human user via the command line or input text area, with the option of having the computer choose randomly.
- getChoiceOrRandom(BufferedReader, int) - Static method in class com.textflex.txtfl.Txtfl
- Front-end for getting a numerical choice from the human user via the command line or input text area, with the option of having the computer choose randomly.
- getChoiceOrRandomExclude(BufferedReader, PrintWriter, int, int) - Static method in class com.textflex.txtfl.Txtfl
- Gets a numerical choice from the human user via the command line input area, or chooses randomly at the user's discretion, while excluding a given value, such as an already selected number.
- getChoiceOrRandomExclude(BufferedReader, int, int) - Static method in class com.textflex.txtfl.Txtfl
- Front-end for getting numerical choice from human input via command-line or input text area, or choosing randomly at the user's discretion, while excluding a given value, such as an already selected number.
- getChoiceOverRange(BufferedReader, PrintWriter, int) - Static method in class com.textflex.txtfl.Txtfl
- Gets a numerical choice within a give numberical range from the human user via the command line or input text area.
- getChoiceOverRange(BufferedReader, int) - Static method in class com.textflex.txtfl.Txtfl
- Front-end for getting a choice within a given numberical range from the human user via the command line or input text area.
- getChoiceOverRangeOrBlank(BufferedReader, PrintWriter, int) - Static method in class com.textflex.txtfl.Txtfl
- Gets a numerical choice within a given range or an empty response from the human user via the command line or input text area.
- getChoiceOverRangeOrBlank(BufferedReader, int) - Static method in class com.textflex.txtfl.Txtfl
- Front-end for getting a choice within a given numerical range or an empty response from the human user via the command line or input text area.
- getComboCount(Combo) - Static method in class com.textflex.txtfl.Txtfl
- Retrieves the number of entries in the given combo box.
- getComboIndex(Combo) - Static method in class com.textflex.txtfl.Txtfl
- Retrieves the selected index from the combo box.
- getCurrentPlayerByPositionIndex(String) - Method in class com.textflex.txtfl.Team
- Gets an the index of a player from the current player, given the player's position Assumes that the current player list is sorted.
- getCurrentPlayerNameByPosition(String) - Method in class com.textflex.txtfl.Team
- Gets an the name of a player from the current player, given the player's position Assumes that the current player list is sorted.
- getDefender() - Method in class com.textflex.txtfl.PlayStat
- Gets the name of the defender.
- getDefender() - Method in class com.textflex.txtfl.Team
- Gets the current defender, the player guarding the other team's ball carrier.
- getDefense() - Method in class com.textflex.txtfl.Txtfl
- Gets the team currently on defense.
- getDeliverer() - Method in class com.textflex.txtfl.PrimaryPlayStat
- Gets the name of the ball deliverer.
- getDeliveryDist() - Method in class com.textflex.txtfl.PrimaryPlayStat
- Gets the distance that the ball deliverer sends the ball.
- getDirFromBase(String) - Method in class com.textflex.txtfl.Txtfl
- Gets a directory in
Txtfl's base directory. - getDist() - Method in class com.textflex.txtfl.Play
- Gets the distance of the play.
- getGraphics() - Method in class com.textflex.txtfl.Txtfl
- Gets the graphics setting
- getImmediatePlayerByNameIndex(String) - Method in class com.textflex.txtfl.Team
- Gets an the index of a player from the immediate players list, given the player's name.
- getImmediatePlayerByPositionIndex(String) - Method in class com.textflex.txtfl.Team
- Gets an the index of a player from the immediate players list, given the player's position.
- getInput() - Method in class com.textflex.txtfl.InputRetriever
- Gets the input value.
- getInput(BufferedReader, PrintWriter) - Static method in class com.textflex.txtfl.Txtfl
- Retrieves input from the user via either the command-line or the graphical input text area.
- getInput(BufferedReader) - Static method in class com.textflex.txtfl.Txtfl
- getInputStream(Team) - Method in class com.textflex.txtfl.Txtfl
- Gets the appropriate input stream for the given team.
- getKickDist() - Method in class com.textflex.txtfl.Player
- Gets the current player's kickDist ability.
- getKickDist(Play, String) - Method in class com.textflex.txtfl.Team
- Gets the blocking value for the player assigned to a given position in a play spec.
- getKickWidth() - Method in class com.textflex.txtfl.Player
- Gets the current player's KickWidth/field-goal ability.
- getKickWidth(Play, String) - Method in class com.textflex.txtfl.Team
- Gets the blocking value for the player assigned to a given position in a play spec.
- getName() - Method in class com.textflex.txtfl.Play
- Gets the name of the play.
- getName() - Method in class com.textflex.txtfl.Player
- Gets the player's name.
- getName() - Method in class com.textflex.txtfl.Team
- Gets the team name.
- getNameIndex(String[][], int, String) - Method in class com.textflex.txtfl.Team
- Finds a player name in a 2D string array.
- getNextPlayNewDrive() - Method in class com.textflex.txtfl.DrivePlay
- Gets the flag for whether the next play should be part of a new drive.
- getNumberChoice(String[], String, Team, boolean) - Method in class com.textflex.txtfl.Txtfl
- Solicits the user to choose a number from a given list.
- getNumberChoice(String[], String, Team) - Method in class com.textflex.txtfl.Txtfl
- Solicits the user to choose a number from a given list.
- getOffense() - Method in class com.textflex.txtfl.Txtfl
- Gets the team currently on offense.
- getOutputStream(Team) - Method in class com.textflex.txtfl.Txtfl
- Gets the appropriate output stream for the given team.
- getPass() - Method in class com.textflex.txtfl.Player
- Gets the current player's pass ability.
- getPass(Play, String) - Method in class com.textflex.txtfl.Team
- Gets the blocking value for the player assigned to a given position in a play spec.
- getPlayCategories() - Method in class com.textflex.txtfl.Txtfl
- Gets the current play categories list.
- getPlayCategoryIndex(String) - Method in class com.textflex.txtfl.Txtfl
- Gets the index of the given play category.
- getPlayChoices(String) - Method in class com.textflex.txtfl.Team
- Gets the play choices for a given category.
- getPlayData(String, String) - Method in class com.textflex.txtfl.Team
- Gets the data for a given play.
- getPlayType() - Method in class com.textflex.txtfl.PlayStat
- Gets the play type.
- getPlayer(String) - Method in class com.textflex.txtfl.Team
- Retrieves the player with the given name from the roster.
- getPlayerByPositionIndex(String[][], int, String) - Method in class com.textflex.txtfl.Team
- Gets the player for the given position.
- getPlayers() - Method in class com.textflex.txtfl.Play
- Gets the player assignments of the play.
- getPosition() - Method in class com.textflex.txtfl.Player
- Gets the player's position.
- getPositionIndex(String[][], int, String) - Method in class com.textflex.txtfl.Team
- Finds a player position in a 2D string array.
- getPunt() - Method in class com.textflex.txtfl.Player
- getPunt(Play, String) - Method in class com.textflex.txtfl.Team
- Gets the blocking value for the player assigned to a given position in a play spec.
- getRank() - Method in class com.textflex.txtfl.Player
- Gets the player's string number, such as 1st-string QB.
- getReceive() - Method in class com.textflex.txtfl.Player
- Gets the current player's pass ability.
- getReceive(Play, String) - Method in class com.textflex.txtfl.Team
- Gets the blocking value for the player assigned to a given position in a play spec.
- getRecipient() - Method in class com.textflex.txtfl.PlayStat
- Gets the name of the recipient.
- getRecipientDist() - Method in class com.textflex.txtfl.PlayStat
- Gets the distance that the recipient carried the ball.
- getResult() - Method in class com.textflex.txtfl.DrivePlay
- Gets the result.
- getRun() - Method in class com.textflex.txtfl.Player
- Gets the current player's catch ability.
- getRun(Play, String) - Method in class com.textflex.txtfl.Team
- Gets the blocking value for the player assigned to a given position in a play spec.
- getScore() - Method in class com.textflex.txtfl.Team
- Gets the current score
- getSide() - Method in class com.textflex.txtfl.Play
- Gets the side of the play.
- getSide() - Method in class com.textflex.txtfl.Team
- Gets the team's current side, whether offense or defense.
- getStringChoice(String, String[], boolean, BufferedReader, PrintWriter) - Method in class com.textflex.txtfl.Txtfl
- Solicits responses to string-based questions, such as 'y' or 'n' rather than numerical choices from a list.
- getStringChoice(String, String[], boolean, BufferedReader) - Method in class com.textflex.txtfl.Txtfl
- Solicits responses to string-based questions, such as 'y' or 'n' rather than numerical choices from a list.
- getSummary() - Method in class com.textflex.txtfl.DrivePlay
- Parses together all the summary statements, consisting of the game-time stats, play calls, and play events.
- getSummaryGameStats() - Method in class com.textflex.txtfl.DrivePlay
- Gets a summary of the game-time statistics in prose form, including scores and down information.
- getSummaryPlay() - Method in class com.textflex.txtfl.DrivePlay
- Gets a summary of the play's events, including key players and distances.
- getSummaryPlayChoices() - Method in class com.textflex.txtfl.DrivePlay
- Gets a summary of the teams' play choices in prose form.
- getSysIn() - Static method in class com.textflex.txtfl.Txtfl
- Get the default input stream
- getTextDisp(Text) - Static method in class com.textflex.txtfl.Txtfl
- Retrieves the text from the text input area.
- getWidth() - Method in class com.textflex.txtfl.Play
- Gets the width setting of the play.
- getWidthYds() - Method in class com.textflex.txtfl.Play
- Gets the yards along the width of the field from the centerline.
- graphics - Static variable in class com.textflex.txtfl.Txtfl
- grow2DStringArray(String[][]) - Static method in class com.textflex.txtfl.Team
- Grows a 2-dimensional array of Strings by 10% + 10 elements.
- growArray(Object) - Static method in class com.textflex.txtfl.Team
- Increases arrays to accomodate 10% + 10 more elements.
H
I
- INCOMPLETE - Static variable in class com.textflex.txtfl.Txtfl
- INTERCEPTION - Static variable in class com.textflex.txtfl.Txtfl
- InputRetriever - class com.textflex.txtfl.InputRetriever.
- Solicits user command-line input on an independent thread.
- InputRetriever() - Constructor for class com.textflex.txtfl.InputRetriever
- immediatePlayers - Variable in class com.textflex.txtfl.Team
- immediatePlayersIndex - Variable in class com.textflex.txtfl.Team
- inPlay - Variable in class com.textflex.txtfl.Txtfl
- incompletion() - Method in class com.textflex.txtfl.Txtfl
- Handles incomplete passes.
- input - Variable in class com.textflex.txtfl.InputRetriever
- input - Static variable in class com.textflex.txtfl.Txtfl
- inputLbl - Static variable in class com.textflex.txtfl.Txtfl
- inputReturned - Static variable in class com.textflex.txtfl.Txtfl
- inputText - Static variable in class com.textflex.txtfl.Txtfl
- intOrFumble(Play[], int) - Method in class com.textflex.txtfl.Txtfl
- Calculates yard changes in the return after an interception or fumble.
- introText - Static variable in class com.textflex.txtfl.Txtfl
- ioBugHandler(IOException) - Static method in class com.textflex.txtfl.Txtfl
- Display I/O error information and show where to report it.
- isCurrentDriveSelected - Static variable in class com.textflex.txtfl.Txtfl
- isDefense() - Method in class com.textflex.txtfl.Team
- Checks whether the team is on defense.
- isKickoffFirst() - Method in class com.textflex.txtfl.Team
- Checks whether the team kicked off first in the game.
- isLeft(String) - Method in class com.textflex.txtfl.Team
- Checks whether the string denotes the left side of the field, from the offense's perspective.
- isMiddle(String) - Method in class com.textflex.txtfl.Team
- Checks whether the string denotes the middle of the field, from the offense's perspective.
- isNetworkTeam(Team) - Static method in class com.textflex.txtfl.Txtfl
- Check if the team is the client machine's team.
- isOffense() - Method in class com.textflex.txtfl.Play
- Checks if the play is an offensive one.
- isOffense(String) - Method in class com.textflex.txtfl.Team
- Checks whether the string denotes offense.
- isOffense() - Method in class com.textflex.txtfl.Team
- Checks whether the team is on offense.
- isPlayers(String) - Method in class com.textflex.txtfl.Team
- Checks whether the string denotes players.
- isPlays(String) - Method in class com.textflex.txtfl.Team
- Checks whether the string denotes plays.
- isPositionSet(String) - Method in class com.textflex.txtfl.Play
- Checks if the position has already been assigned in the play.
- isPositionSet(Play, String) - Method in class com.textflex.txtfl.Team
- Checks whether a position has been set to a specific player.
- isRight(String) - Method in class com.textflex.txtfl.Team
- Checks whether the string denotes right side of the field, from the offense's perspective.
- isSide(String) - Method in class com.textflex.txtfl.Txtfl
- Checks if play is by the sideline.
K
- KICK_OFF - Static variable in class com.textflex.txtfl.Txtfl
- KICK_OFF_DROPKICK - Static variable in class com.textflex.txtfl.Txtfl
- kick(Play) - Method in class com.textflex.txtfl.Txtfl
- Handles kickoffs kicks.
- kickDist - Variable in class com.textflex.txtfl.Player
- kickWidth - Variable in class com.textflex.txtfl.Player
- kickWidth(Play, int, double, double) - Method in class com.textflex.txtfl.Txtfl
- Handles side-to-side distance in place kicks.
- kickoffDropkickPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Kicks off the football through the dropkick technique.
- kickoffFirst - Variable in class com.textflex.txtfl.Team
- kickoffPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Kicks off the football from a tee.
L
- LibTxtfl - class com.textflex.txtfl.LibTxtfl.
- Repository of general functions useful across tXtFL source code.
- LibTxtfl() - Constructor for class com.textflex.txtfl.LibTxtfl
- loadPlayers(BufferedReader) - Method in class com.textflex.txtfl.Team
- Loads the players from the team spec file into the roster.
- loadPlays(BufferedReader) - Method in class com.textflex.txtfl.Team
- Loads and sorts the plays from the team spec file into the playlist.
- loadTeam() - Method in class com.textflex.txtfl.Team
- Loads the team data from the team file.
M
- main(String[]) - Static method in class com.textflex.txtfl.Txtfl
- Creates a
Txtflintance, starting the football simulator.
N
- NEW_GAME - Static variable in class com.textflex.txtfl.Txtfl
- NO_GOOD - Static variable in class com.textflex.txtfl.Txtfl
- name - Variable in class com.textflex.txtfl.Play
- name - Variable in class com.textflex.txtfl.Player
- name - Variable in class com.textflex.txtfl.Team
- netIn - Static variable in class com.textflex.txtfl.Txtfl
- netOut - Static variable in class com.textflex.txtfl.Txtfl
- networkSetup() - Method in class com.textflex.txtfl.Txtfl
- networking - Static variable in class com.textflex.txtfl.Txtfl
- newDrive - Variable in class com.textflex.txtfl.Txtfl
- newGame - Static variable in class com.textflex.txtfl.Txtfl
- nextPlayNewDrive - Variable in class com.textflex.txtfl.DrivePlay
- nextPlayNewDrive - Variable in class com.textflex.txtfl.Txtfl
- numFormat - Variable in class com.textflex.txtfl.Txtfl
- numFormat - Static variable in class com.textflex.txtfl.Txtflo
O
- OPTIONS - Static variable in class com.textflex.txtfl.Txtfl
- ofPlay - Variable in class com.textflex.txtfl.DrivePlay
- ofPlayType - Variable in class com.textflex.txtfl.DrivePlay
- ofScore - Variable in class com.textflex.txtfl.DrivePlay
- offense - Variable in class com.textflex.txtfl.DrivePlay
- offense - Variable in class com.textflex.txtfl.Team
- options(String, Team) - Method in class com.textflex.txtfl.Txtfl
- Front-end for the options.
- optionsChoice(Team) - Method in class com.textflex.txtfl.Txtfl
- Selects the game option.
- optionsChoices - Variable in class com.textflex.txtfl.Txtfl
- ordinalDowns - Static variable in class com.textflex.txtfl.Txtflo
- ordinalQuarters - Static variable in class com.textflex.txtfl.Txtflo
- overtime - Variable in class com.textflex.txtfl.Txtfl
P
- PASS - Static variable in class com.textflex.txtfl.Txtfl
- PASS_RUSH - Static variable in class com.textflex.txtfl.Txtfl
- PAT - Static variable in class com.textflex.txtfl.Txtfl
- PLAYS - Static variable in class com.textflex.txtfl.Txtfl
- PUNT - Static variable in class com.textflex.txtfl.Txtfl
- Play - class com.textflex.txtfl.Play.
- Football plays, whether offensive or defensive, passing, rushing, kickoff, or the like.
- Play() - Constructor for class com.textflex.txtfl.Play
- Constructs a play to set manually.
- PlayStat - class com.textflex.txtfl.PlayStat.
- Record of all the major play statistics.
- PlayStat() - Constructor for class com.textflex.txtfl.PlayStat
- Constructs an empty play statistical record.
- PlayStat(String, String, int, String) - Constructor for class com.textflex.txtfl.PlayStat
- Constructs a complete statistical record.
- Player - class com.textflex.txtfl.Player.
- The football players.
- Player() - Constructor for class com.textflex.txtfl.Player
- Constructs a player to set later.
- Player(String) - Constructor for class com.textflex.txtfl.Player
- Constructs a player for a given position.
- Player(String, String, int, int, int, int, int, int, int, int) - Constructor for class com.textflex.txtfl.Player
- Constructs a player and sets his complete description, including position and ability values.
- PrimaryPlayStat - class com.textflex.txtfl.PrimaryPlayStat.
- Record of the play statistics common to and necessary for almost all plays.
- PrimaryPlayStat(String, String, int, String, int, String) - Constructor for class com.textflex.txtfl.PrimaryPlayStat
- Constructs the complete statistic.
- pass - Variable in class com.textflex.txtfl.Player
- pass(Play[], int) - Method in class com.textflex.txtfl.Txtfl
- Handles passes.
- passGenerator(Play[], boolean) - Method in class com.textflex.txtfl.Txtfl
- Applies the pass.
- passGenerator(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Front-end for general passes, as opposed to those during conversion attempts or otherwise.
- passPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Passes the football and handles the yards, time, down, and yards to go changes.
- passRush(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Generates the pass rush value difference.
- patPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Handles point-after-touchdowns (PAT) kicks.
- pickPlayer(String[]) - Method in class com.textflex.txtfl.Team
- placekickDist(Play, int, int) - Method in class com.textflex.txtfl.Txtfl
- Handles place kicking distances.
- placekickRush(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Handles place kick rushing on the line.
- play(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Front-end for the football action.
- playCategories - Variable in class com.textflex.txtfl.Txtfl
- playCategory(boolean, Team) - Method in class com.textflex.txtfl.Txtfl
- Selects the appropriate play category.
- playChoice(String, Team, boolean) - Method in class com.textflex.txtfl.Txtfl
- Selects a play.
- playFourthDown() - Method in class com.textflex.txtfl.Txtfl
- Determines whether the computer will choose to punt or play on fourth down.
- playGame() - Method in class com.textflex.txtfl.Txtfl
- The game model.
- playType - Variable in class com.textflex.txtfl.PlayStat
- playType - Variable in class com.textflex.txtfl.Txtfl
- playTypeSpecific - Variable in class com.textflex.txtfl.Txtfl
- playerMode() - Method in class com.textflex.txtfl.Txtfl
- Allows the user to select the number of users and networking options.
- players - Variable in class com.textflex.txtfl.Play
- playersIndex - Variable in class com.textflex.txtfl.Play
- plays - Variable in class com.textflex.txtfl.Team
- plays(Team) - Method in class com.textflex.txtfl.Txtfl
- Presents and accepts the play options.
- playsIndex - Variable in class com.textflex.txtfl.Team
- position - Variable in class com.textflex.txtfl.Player
- primPlayStat - Variable in class com.textflex.txtfl.DrivePlay
- print(String) - Static method in class com.textflex.txtfl.Txtfl
- printDirected(String, String, String, Team, boolean) - Static method in class com.textflex.txtfl.Txtfl
- Prints alternative text to the local and networked displays.
- printList(String[], int, int, Team) - Method in class com.textflex.txtfl.Txtfl
- Prints a list of items in the given number of columns, with the given minimum characters per column.
- printList(String[], int, int) - Method in class com.textflex.txtfl.Txtfl
- Prints a list of items in the given number of columns, with the given minimum characters per column.
- printLocal(String) - Static method in class com.textflex.txtfl.Txtfl
- Prints output on the local, non-networked display, on the current line.
- printLocalQuestion(String) - Static method in class com.textflex.txtfl.Txtfl
- Prints output on the local, non-networked display, including both the command-line's current line and the graphical input label, if available.
- printPlayers() - Method in class com.textflex.txtfl.Team
- Prints the name of all players on the team and their positions.
- printQuestion(String) - Static method in class com.textflex.txtfl.Txtfl
- Prints output to both the local displays, including the graphical input label, and network displays.
- printToInputLabel(String) - Static method in class com.textflex.txtfl.Txtfl
- Replaces the input label's text.
- printToInputer(String, Team) - Static method in class com.textflex.txtfl.Txtfl
- printToInputer(String, PrintWriter) - Static method in class com.textflex.txtfl.Txtfl
- println(String) - Static method in class com.textflex.txtfl.Txtfl
- printlnLocal(String) - Static method in class com.textflex.txtfl.Txtfl
- Prints a new line of output on the local, non-networked display.
- printlnLocalQuestion(String) - Static method in class com.textflex.txtfl.Txtfl
- Prints a new line of output on the local, non-networked display, including both the command-line and the graphical input label, if available.
- printlnToInputer(String, Team) - Static method in class com.textflex.txtfl.Txtfl
- printlnToInputer(String, PrintWriter) - Static method in class com.textflex.txtfl.Txtfl
- punt - Variable in class com.textflex.txtfl.Player
- punt(Play, int) - Method in class com.textflex.txtfl.Txtfl
- Handles punt distances and hange time.
- puntGenerator(Play[], double[], int) - Method in class com.textflex.txtfl.Txtfl
- Applies the punt play.
- puntPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Punts the football.
- puntProtection(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Handles punts protection and rushing.
Q
- QUIT - Static variable in class com.textflex.txtfl.Txtfl
- quarter - Variable in class com.textflex.txtfl.DrivePlay
- quarter - Variable in class com.textflex.txtfl.Txtfl
- quarterAdvance() - Method in class com.textflex.txtfl.Txtfl
- Handles advances of the game quarter.
- quit() - Method in class com.textflex.txtfl.Txtfl
- Quits the game after double-checking with the user.
R
- RESTORE_GAME - Static variable in class com.textflex.txtfl.Txtfl
- RETURN - Static variable in class com.textflex.txtfl.Txtfl
- ROSTER - Static variable in class com.textflex.txtfl.Txtfl
- RUSH - Static variable in class com.textflex.txtfl.Txtfl
- raiseScore(int) - Method in class com.textflex.txtfl.Team
- Change the score by the given number of points.
- rank - Variable in class com.textflex.txtfl.Player
- read(BufferedReader) - Static method in class com.textflex.txtfl.Txtfl
- Reads from an input buffer.
- reader - Variable in class com.textflex.txtfl.InputRetriever
- receive - Variable in class com.textflex.txtfl.Player
- recipient - Variable in class com.textflex.txtfl.PlayStat
- recipient - Variable in class com.textflex.txtfl.Txtfl
- recipientDist - Variable in class com.textflex.txtfl.PlayStat
- recipientDist - Variable in class com.textflex.txtfl.Txtfl
- relativeYardline(int, String, String) - Static method in class com.textflex.txtfl.Txtflo
- Converts the given yardline relative to the offense's goal into a string showing the yardline relative to which half of the field the offense is on.
- reloadPlayers() - Method in class com.textflex.txtfl.Team
- Reloads the team spec file's player specifications into the roster.
- reloadPlays() - Method in class com.textflex.txtfl.Team
- Reloads the team spec file's play specifications into the playlist.
- replaceSubstring(String, String, String) - Static method in class com.textflex.txtfl.LibTxtfl
- Replaces all instances of one substring for another in a given string.
- restoredGame - Variable in class com.textflex.txtfl.Txtfl
- result - Variable in class com.textflex.txtfl.DrivePlay
- returnGenerator(Play[], double) - Method in class com.textflex.txtfl.Txtfl
- Applies return yardage, such as the distance punt returners cover after receiving the ball.
- roster - Variable in class com.textflex.txtfl.Team
- roster(Team) - Method in class com.textflex.txtfl.Txtfl
- Presents and accepts the roster options.
- rosterIndex - Variable in class com.textflex.txtfl.Team
- run() - Method in class com.textflex.txtfl.InputRetriever
- Requests user command-line input.
- run - Variable in class com.textflex.txtfl.Player
- run() - Method in class com.textflex.txtfl.Txtfl
- Runs tXtFL's thread, the game loop.
- run(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Handles rushes.
- runAfterCatch(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Handles the run-after-the-catch in pass plays.
- runAfterKickoff(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Handles kick returns.
- runAfterPunt(Play[], double, double) - Method in class com.textflex.txtfl.Txtfl
- Handles the punt return.
- runGenerator(Play[], boolean) - Method in class com.textflex.txtfl.Txtfl
- Applies the running play.
- runGenerator(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Front-end for general rush plays, as opposed to those during conversion attempts or otherwise.
- runPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Rushes the football for an "on-the-ground," non-pass offensive play.
S
- SACK - Static variable in class com.textflex.txtfl.Txtfl
- SAFETY - Static variable in class com.textflex.txtfl.Txtfl
- SAFETY_KICK - Static variable in class com.textflex.txtfl.Txtfl
- SAFETY_KICK_DROPKICK - Static variable in class com.textflex.txtfl.Txtfl
- SAFETY_KICK_PLACEKICK - Static variable in class com.textflex.txtfl.Txtfl
- SAFETY_KICK_PUNT - Static variable in class com.textflex.txtfl.Txtfl
- SAVE_GAME - Static variable in class com.textflex.txtfl.Txtfl
- STATS - Static variable in class com.textflex.txtfl.Txtfl
- sack(int) - Method in class com.textflex.txtfl.Txtfl
- Handles sacks.
- safety() - Method in class com.textflex.txtfl.Txtfl
- Handles safeties.
- safetyKickDropkickPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Dropkicks the ball after safeties.
- safetyKickPlacekickPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Placekicks the ball after safeties.
- safetyKickPuntPlay(Play[]) - Method in class com.textflex.txtfl.Txtfl
- Punts the ball after safeties.
- score - Variable in class com.textflex.txtfl.Team
- server - Static variable in class com.textflex.txtfl.Txtfl
- setAdjustedYdsToGo(int) - Method in class com.textflex.txtfl.Txtfl
- Adjusts first down yards-to-go to account for positions 10 yards or fewer from the opponent's endzone.
- setBlock(int) - Method in class com.textflex.txtfl.Player
- Sets the player's block ability.
- setCategory(String) - Method in class com.textflex.txtfl.Play
- Sets the category of the play.
- setCurrentPlayers() - Method in class com.textflex.txtfl.Team
- Initializes the current players list of players with those who have most recently played in their positions.
- setDefense() - Method in class com.textflex.txtfl.Team
- Sets the team to defense.
- setDist(int) - Method in class com.textflex.txtfl.Play
- Sets the distance of the play.
- setImmediatePlayer(String, String) - Method in class com.textflex.txtfl.Team
- Sets the given player as an immediate player.
- setInput(String) - Method in class com.textflex.txtfl.InputRetriever
- Sets the input value.
- setKickDist(int) - Method in class com.textflex.txtfl.Player
- Sets the player's kickDist ability.
- setKickWidth(int) - Method in class com.textflex.txtfl.Player
- Sets the player's KickWidth/field-goal ability.
- setKickoffFirst() - Method in class com.textflex.txtfl.Team
- Sets a team to have begun the game by kicking off the ball to the other team.
- setName(String) - Method in class com.textflex.txtfl.Play
- Sets the name of the play.
- setName(String) - Method in class com.textflex.txtfl.Player
- Sets the player's name
- setName(String) - Method in class com.textflex.txtfl.Team
- Sets the team's name.
- setOffense() - Method in class com.textflex.txtfl.Team
- Sets the team to offense.
- setPass(int) - Method in class com.textflex.txtfl.Player
- Sets the player's pass ability.
- setPlayCategories(String) - Method in class com.textflex.txtfl.Txtfl
- Sets the categories for the given play type.
- setPlayType(String) - Method in class com.textflex.txtfl.Txtfl
- Sets the currently chosen play category.
- setPlayer(String) - Method in class com.textflex.txtfl.Play
- Adds the player to the player assignment list, a array of 2-element arrays, consisting of first the position and then the name of a specifically assigned player, if necessary.
- setPlays(String, String, String, String) - Method in class com.textflex.txtfl.DrivePlay
- Sets the play call and category.
- setPosition(String) - Method in class com.textflex.txtfl.Player
- Sets the player's positon.
- setPunt(int) - Method in class com.textflex.txtfl.Player
- Sets the player's punt ability.
- setRank(int) - Method in class com.textflex.txtfl.Player
- Sets the player's positon.
- setReceive(int) - Method in class com.textflex.txtfl.Player
- Sets the player's catch ability.
- setResult(String) - Method in class com.textflex.txtfl.DrivePlay
- Sets the result of the play, such as "complete" for completed passes or "no good" for missed field goals.
- setRun(int) - Method in class com.textflex.txtfl.Player
- Sets the player's run ability.
- setScore(int) - Method in class com.textflex.txtfl.Team
- Sets the team's score.
- setSide(String) - Method in class com.textflex.txtfl.Play
- Sets the side of the play.
- setTextDisp(String, Text) - Static method in class com.textflex.txtfl.Txtfl
- Sets the text in the text input area.
- setWidth(String) - Method in class com.textflex.txtfl.Play
- Sets the width setting of the play.
- side - Variable in class com.textflex.txtfl.Play
- sleep(int) - Static method in class com.textflex.txtfl.Txtfl
- Temporarily halts the thread.
- sort2DArray(String[][], int) - Method in class com.textflex.txtfl.Team
- Sorts the roster alphabetically by name.
- sortCurrentPlayers() - Method in class com.textflex.txtfl.Team
- Sorts the array of current players according to position.
- sortRoster() - Method in class com.textflex.txtfl.Team
- Sorts the roster alphabetically by name.
- spec - Variable in class com.textflex.txtfl.Team
- start(BufferedReader) - Method in class com.textflex.txtfl.InputRetriever
- Starts the thread.
- startGame() - Method in class com.textflex.txtfl.Txtfl
- startYdsToGo - Variable in class com.textflex.txtfl.DrivePlay
- stats(Team) - Method in class com.textflex.txtfl.Txtfl
- stop() - Method in class com.textflex.txtfl.InputRetriever
- Stops the thread and resets the input value.
- sumDropkickDist(Play, int) - Method in class com.textflex.txtfl.Team
- Calculates the place kicking distance forward.
- sumFumble(Play) - Method in class com.textflex.txtfl.Team
- Calculate the weighted sum of the offense's skill in avoiding fumbles.
- sumKickWidth(Play, int, double) - Method in class com.textflex.txtfl.Team
- Calculates the place kicking distance to a given side laterally.
- sumKickoff(Play) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of the kickoff kick.
- sumOutOfBounds(Play, boolean, int) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of getting out of bounds.
- sumPass(Play[], int) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of the throw and catch in a passing play.
- sumPassRush(Play) - Method in class com.textflex.txtfl.Team
- Calculate the weighted sum of pass rushing, based on the pertinent players' abilities as specified in the team file.
- sumPlacekickDist(Play, int) - Method in class com.textflex.txtfl.Team
- Calculates the place kicking distance forward.
- sumPlacekickRush(Play) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of line blocking during place kick plays.
- sumPunt(Play, int) - Method in class com.textflex.txtfl.Team
- Calculates the maximum punt distance.
- sumPuntHang(Play) - Method in class com.textflex.txtfl.Team
- Calculates the maximum punt hang time.
- sumPuntProtection(Play) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of line protection for punt plays.
- sumRun(Play[]) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of running plays.
- sumRunAfterCatch(Play[]) - Method in class com.textflex.txtfl.Team
- Weighted sum of the receiver's run after the catch.
- sumRunAfterIntOrFumble(Play[], int) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of the run after a defender intercepts the ball.
- sumRunAfterKickoff(Play[]) - Method in class com.textflex.txtfl.Team
- Calculates the weigthed sum of the kickoff return.
- sumRunAfterPunt(Play[], double, double) - Method in class com.textflex.txtfl.Team
- Calculates the weighted sum of the punt return.
- supplPlayStats - Variable in class com.textflex.txtfl.DrivePlay
- supplPlayStatsIndex - Variable in class com.textflex.txtfl.DrivePlay
- swapPossession() - Method in class com.textflex.txtfl.Txtfl
- Switches ball possession from the current offense to the current defense.
- sysIn - Static variable in class com.textflex.txtfl.Txtfl
T
- THE_DEFENSE - Static variable in class com.textflex.txtfl.Txtfl
- THE_GOAL_POSTS - Static variable in class com.textflex.txtfl.Txtfl
- TURNOVER_ON_DOWNS - Static variable in class com.textflex.txtfl.Txtfl