|
|||||||||
| Home >> All >> com >> textflex >> [ txtfl overview ] | PREV NEXT | ||||||||
Uses of Class
com.textflex.txtfl.Play
| Uses of Play in com.textflex.txtfl |
| Fields in com.textflex.txtfl declared as Play | |
private Play[] |
Team.plays
|
| Methods in com.textflex.txtfl that return Play | |
Play[] |
Txtfl.choosePlay()
Solicits play calls according to the number of users and whether each user is presently on offense or defense. |
Play |
Txtfl.playChoice(java.lang.String category,
Team team,
boolean auto)
Selects a play. |
Play[] |
Team.addPlay(Play p,
Play[] ps,
int psIndex)
Adds a play to the the given playlist. |
Play |
Team.getPlayData(java.lang.String category,
java.lang.String name)
Gets the data for a given play. |
| Methods in com.textflex.txtfl with parameters of type Play | |
void |
Txtfl.play(Play[] play)
Front-end for the football action. |
void |
Txtfl.passPlay(Play[] play)
Passes the football and handles the yards, time, down, and yards to go changes. |
int |
Txtfl.passGenerator(Play[] play,
boolean tryAttempt)
Applies the pass. |
int |
Txtfl.passGenerator(Play[] play)
Front-end for general passes, as opposed to those during conversion attempts or otherwise. |
void |
Txtfl.runPlay(Play[] play)
Rushes the football for an "on-the-ground," non-pass offensive play. |
int |
Txtfl.runGenerator(Play[] play,
boolean tryAttempt)
Applies the running play. |
int |
Txtfl.runGenerator(Play[] play)
Front-end for general rush plays, as opposed to those during conversion attempts or otherwise. |
void |
Txtfl.puntPlay(Play[] play)
Punts the football. |
int |
Txtfl.puntGenerator(Play[] play,
double[] punt,
int runDist)
Applies the punt play. |
int |
Txtfl.returnGenerator(Play[] play,
double runDist)
Applies return yardage, such as the distance punt returners cover after receiving the ball. |
void |
Txtfl.fieldGoalPlay(Play[] play)
Kicks a field goal attempt Handles the yards, time, down, and yards to go changes. |
void |
Txtfl.kickoffPlay(Play[] play)
Kicks off the football from a tee. |
void |
Txtfl.kickoffDropkickPlay(Play[] play)
Kicks off the football through the dropkick technique. |
void |
Txtfl.patPlay(Play[] play)
Handles point-after-touchdowns (PAT) kicks. |
void |
Txtfl.twoPointPassPlay(Play[] play)
Handles 2-point pass attempts after touchdowns Includes the opportunity to score from a safetying the defense. |
void |
Txtfl.twoPointRunPlay(Play[] play)
Handles 2-point run attempts after touchdowns Includes the opportunity to score from a safetying the defense. |
void |
Txtfl.safetyKickPuntPlay(Play[] play)
Punts the ball after safeties. |
void |
Txtfl.safetyKickPlacekickPlay(Play[] play)
Placekicks the ball after safeties. |
void |
Txtfl.safetyKickDropkickPlay(Play[] play)
Dropkicks the ball after safeties. |
int |
Txtfl.timeBetweenPlays(Play[] play,
boolean pass,
int totDist)
Generates the time between plays. |
int |
Txtfl.blockingFumble(Play[] play,
int blocking,
boolean tryAttempt)
Front-end for fumbles behind the line of scrimmage, fumbles that the defensive line usually causes. |
int |
Txtfl.blockingFumble(Play[] play,
int blocking)
Front-end for fumbles behind the line of scrimmage during normal, non-try plays. |
int |
Txtfl.fumble(Play[] play,
int dist,
boolean tryAttempt)
Handles fumbles. |
int |
Txtfl.fumble(Play[] play,
int dist)
Front-end to general fumbles, as opposed to those during try attempts. |
boolean |
Txtfl.checkFumble(Play play,
int dist)
Checks if the play results in a fumble. |
int |
Txtfl.passRush(Play[] play)
Generates the pass rush value difference. |
int |
Txtfl.pass(Play[] play,
int block)
Handles passes. |
int |
Txtfl.intOrFumble(Play[] play,
int dist)
Calculates yard changes in the return after an interception or fumble. |
int |
Txtfl.runAfterCatch(Play[] play)
Handles the run-after-the-catch in pass plays. |
int |
Txtfl.run(Play[] play)
Handles rushes. |
int |
Txtfl.puntProtection(Play[] play)
Handles punts protection and rushing. |
double[] |
Txtfl.punt(Play play,
int protection)
Handles punt distances and hange time. |
int |
Txtfl.runAfterPunt(Play[] play,
double dist,
double hang)
Handles the punt return. |
int |
Txtfl.placekickRush(Play[] play)
Handles place kick rushing on the line. |
double |
Txtfl.placekickDist(Play play,
int protection,
int intendedDist)
Handles place kicking distances. |
double |
Txtfl.dropkickDist(Play play,
int protection,
int intendedDist)
Handles place kicking distances. |
double |
Txtfl.kickWidth(Play play,
int protection,
double goalPostDist,
double intendedDist)
Handles side-to-side distance in place kicks. |
double |
Txtfl.kick(Play play)
Handles kickoffs kicks. |
int |
Txtfl.runAfterKickoff(Play[] play)
Handles kick returns. |
Play[] |
Team.addPlay(Play p,
Play[] ps,
int psIndex)
Adds a play to the the given playlist. |
void |
Team.assignPlayPlayers(Play play)
Assigns the players for the given play. |
int |
Team.sumPassRush(Play play)
Calculate the weighted sum of pass rushing, based on the pertinent players' abilities as specified in the team file. |
int |
Team.sumPass(Play[] play,
int block)
Calculates the weighted sum of the throw and catch in a passing play. |
int |
Team.sumRunAfterCatch(Play[] play)
Weighted sum of the receiver's run after the catch. |
int |
Team.sumRunAfterIntOrFumble(Play[] play,
int dist)
Calculates the weighted sum of the run after a defender intercepts the ball. |
int |
Team.sumRun(Play[] play)
Calculates the weighted sum of running plays. |
int |
Team.sumPlacekickRush(Play play)
Calculates the weighted sum of line blocking during place kick plays. |
double |
Team.sumPlacekickDist(Play play,
int protection)
Calculates the place kicking distance forward. |
double |
Team.sumDropkickDist(Play play,
int protection)
Calculates the place kicking distance forward. |
double |
Team.sumKickWidth(Play play,
int protection,
double intendedDist)
Calculates the place kicking distance to a given side laterally. |
int |
Team.sumKickoff(Play play)
Calculates the weighted sum of the kickoff kick. |
int |
Team.sumRunAfterKickoff(Play[] play)
Calculates the weigthed sum of the kickoff return. |
int |
Team.sumPuntProtection(Play play)
Calculates the weighted sum of line protection for punt plays. |
int |
Team.sumPunt(Play play,
int protection)
Calculates the maximum punt distance. |
double |
Team.sumPuntHang(Play play)
Calculates the maximum punt hang time. |
int |
Team.sumRunAfterPunt(Play[] play,
double dist,
double hang)
Calculates the weighted sum of the punt return. |
int |
Team.sumOutOfBounds(Play play,
boolean pass,
int totDist)
Calculates the weighted sum of getting out of bounds. |
double |
Team.sumFumble(Play play)
Calculate the weighted sum of the offense's skill in avoiding fumbles. |
boolean |
Team.isPositionSet(Play play,
java.lang.String position)
Checks whether a position has been set to a specific player. |
int |
Team.getBlock(Play play,
java.lang.String position)
Gets the blocking value for the player assigned to a given position in a play spec. |
int |
Team.getPass(Play play,
java.lang.String position)
Gets the blocking value for the player assigned to a given position in a play spec. |
int |
Team.getReceive(Play play,
java.lang.String position)
Gets the blocking value for the player assigned to a given position in a play spec. |
int |
Team.getRun(Play play,
java.lang.String position)
Gets the blocking value for the player assigned to a given position in a play spec. |
int |
Team.getKickDist(Play play,
java.lang.String position)
Gets the blocking value for the player assigned to a given position in a play spec. |
int |
Team.getKickWidth(Play play,
java.lang.String position)
Gets the blocking value for the player assigned to a given position in a play spec. |
int |
Team.getPunt(Play play,
java.lang.String position)
Gets the blocking value for the player assigned to a given position in a play spec. |
|
|||||||||
| Home >> All >> com >> textflex >> [ txtfl overview ] | PREV NEXT | ||||||||