Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eckucukoglu/cengball
/ functions
Functions
788 in github.com/eckucukoglu/cengball
⨍
Functions
788
◇
Types & classes
120
↓ 234 callers
Method
getId
Gets the team's id. @return the id of the team.
trunk/CengBall/src/common/Team.java:127
↓ 231 callers
Method
add
Adds the vector with the given vector. @param v the vector to be added. @return result vector.
trunk/CengBall/src/rare/vector2D.java:123
↓ 216 callers
Method
getPosition
Gets the position of the moving object. @return the position of the moving object.
trunk/CengBall/src/common/MovingObject.java:43
↓ 119 callers
Method
getX
Gets the value in x axis. @return the value in x axis.
trunk/CengBall/src/rare/vector2D.java:38
↓ 95 callers
Method
setBounds
(int x,int y,int width, int height)
trunk/CengBall/src/gui/Selector.java:118
↓ 87 callers
Method
log
(String str)
branches/gui-development/CengBall/src/utils/Utils.java:13
↓ 75 callers
Method
getBall
Gets the ball. @return ball object.
trunk/CengBall/src/rare/Percept.java:47
↓ 63 callers
Method
getY
Gets the value in y axis. @return the value in y axis.
trunk/CengBall/src/rare/vector2D.java:54
↓ 63 callers
Method
setBounds
(int x,int y,int width, int height)
branches/gui-development/CengBall/src/gui/Selector.java:98
↓ 59 callers
Method
getId
Gets the player's id. @return id of the player.
trunk/CengBall/src/common/Player.java:371
↓ 56 callers
Method
getFont
(String fontName, int fontSize, int style)
trunk/CengBall/src/utils/FileUtils.java:114
↓ 56 callers
Method
measureDistance
Calculates the distance between two vectors. @param vec other vector. @return result value.
trunk/CengBall/src/rare/vector2D.java:164
↓ 52 callers
Method
getPitch
Gets the dimensions of the pitch. @return dimensions of the pitch.
trunk/CengBall/src/rare/Pitch.java:219
↓ 44 callers
Method
getName
Gets the name of the player. @return name of the player.
trunk/CengBall/src/common/Player.java:202
↓ 39 callers
Method
getPlayer
Gets the player with the given ID in this MatchAssets object. @param id given ID. @return player with the given ID.
trunk/CengBall/src/common/MatchAssets.java:289
↓ 38 callers
Method
getStats
()
trunk/CengBall/src/rare/SaveFile.java:190
↓ 38 callers
Method
setBackground
(Image img)
branches/gui-development/CengBall/src/gui/MenuPanel.java:66
↓ 37 callers
Method
setBackground
(Image img)
trunk/CengBall/src/gui/MenuPanel.java:93
↓ 32 callers
Method
getPlayers
Gets the player hash map. @return player hash map.
trunk/CengBall/src/common/MatchAssets.java:546
↓ 31 callers
Method
toString
()
trunk/CengBall/src/rare/vector2D.java:77
↓ 30 callers
Method
getPreferredSize
()
trunk/CengBall/src/gui/Selector.java:127
↓ 25 callers
Method
getPitchHeight
Gets the heigth of the field. @return height of the field.
trunk/CengBall/src/rare/Pitch.java:68
↓ 25 callers
Method
getPlayerList
Gets the player list with the given team ID. @param teamID team ID. @return player list with the team ID.
trunk/CengBall/src/common/MatchAssets.java:555
↓ 25 callers
Method
getPlayersInRange
Gets the players in the circle specified with the range and the center. @param center the center of the circle. @param range the range of the circle.
trunk/CengBall/src/common/MatchAssets.java:412
↓ 25 callers
Method
getX
()
branches/gui-development/CengBall/src/common/Position.java:20
↓ 25 callers
Method
getX
()
branches/runtime compiling/CengBall/src/common/Position.java:20
↓ 25 callers
Method
setBackground
(Image img)
trunk/CengBall/src/gui/MatchStatsPanel.java:286
↓ 25 callers
Method
subtract
Subtracts the given vector from this one. @param v the vector to be subtracted. @return result vector.
trunk/CengBall/src/rare/vector2D.java:132
↓ 23 callers
Method
getLogger
()
trunk/CengBall/src/utils/CBLogger.java:61
↓ 22 callers
Method
getInstance
()
trunk/CengBall/src/utils/CBLogger.java:26
↓ 22 callers
Method
getStartupPosition
Gets the startup position of the player. @return the startup postion of the player.
trunk/CengBall/src/common/Player.java:389
↓ 21 callers
Method
getPosition
()
branches/gui-development/CengBall/src/common/Ball.java:18
↓ 21 callers
Method
getPosition
()
branches/runtime compiling/CengBall/src/common/Ball.java:18
↓ 21 callers
Method
getSpeed
Gets the speed of the moving object. @return the speed of the moving object.
trunk/CengBall/src/common/MovingObject.java:59
↓ 20 callers
Method
getFont
(String fontName, int fontSize, int style)
branches/gui-development/CengBall/src/utils/FileUtils.java:71
↓ 20 callers
Method
getHalfCourt
Gets the half court of the team with the given team ID. @param teamID team ID of the team. @return the half court of the team.
trunk/CengBall/src/rare/Pitch.java:164
↓ 20 callers
Method
getOwner
Gets the owner of the ball object. @return the owner player of the ball object.
trunk/CengBall/src/common/Ball.java:84
↓ 20 callers
Method
getPlayerClosestToObject
Gets the player which is the closest to the given object among the given player list. @param players player list. @param target target object. @return
trunk/CengBall/src/common/MatchAssets.java:343
↓ 20 callers
Method
getScreenWidthRatio
(int width)
trunk/CengBall/src/utils/Utils.java:22
↓ 19 callers
Method
clone
()
trunk/CengBall/src/common/Ball.java:38
↓ 19 callers
Method
getClosestPlayersToLine
Gets the players to the line within the given range. @param from first endpoint of the line. @param to second endpoint of the line. @param range the r
trunk/CengBall/src/common/MatchAssets.java:496
↓ 19 callers
Method
getTeamInfo
Gets the information about the team.(id, name and colors). @return an object containing the team information.
trunk/CengBall/src/common/Team.java:135
↓ 19 callers
Method
getY
()
branches/gui-development/CengBall/src/common/Position.java:28
↓ 19 callers
Method
getY
()
branches/runtime compiling/CengBall/src/common/Position.java:28
↓ 19 callers
Method
show
(String name)
trunk/CengBall/src/gui/MainPanel.java:46
↓ 19 callers
Method
stop
Sets the player's intention to stop. Player does nothing when it's intention is stop.
trunk/CengBall/src/common/Player.java:362
↓ 18 callers
Method
getRadius
Gets the radius. @return radius of the moving object.
trunk/CengBall/src/common/MovingObject.java:115
↓ 18 callers
Method
toPoint
Transforms this vector to a Point2D. @return vector as a Point2D.
trunk/CengBall/src/rare/vector2D.java:175
↓ 17 callers
Method
contains
Checks if an object is with in the boundaries of the field. @param object the object to be checked. @return true if the object is in the field, false
trunk/CengBall/src/rare/Pitch.java:98
↓ 16 callers
Method
getTeamID
Gets the team id of the player. @return teamID id of the player.
trunk/CengBall/src/common/Player.java:186
↓ 16 callers
Method
normalizeDistance
(double distance)
trunk/CengBall/src/imports/XFactor.java:490
↓ 15 callers
Method
getPitchWidth
Gets the width of the pitch. @return width of the pitch.
trunk/CengBall/src/rare/Pitch.java:60
↓ 15 callers
Method
getTeamIDs
Gets the team ID list. @return team ID list.
trunk/CengBall/src/common/MatchAssets.java:603
↓ 14 callers
Method
setSpeed
Sets the speed of the moving object. @param speed speed to be set.
trunk/CengBall/src/common/MovingObject.java:67
↓ 14 callers
Method
setX
Sets the value in x axis. @param x the value in x axis to be set.
trunk/CengBall/src/rare/vector2D.java:46
↓ 14 callers
Method
setY
Sets the value in y axis. @param y the value in y axis to be set.
trunk/CengBall/src/rare/vector2D.java:62
↓ 13 callers
Method
getAngle
Gets the angle of the vector. @return the angle of the vector.
trunk/CengBall/src/rare/vector2D.java:93
↓ 13 callers
Method
getPlayerInfoList
()
branches/gui-development/CengBall/src/common/Percept.java:33
↓ 13 callers
Method
getPlayerInfoList
()
branches/runtime compiling/CengBall/src/common/Percept.java:33
↓ 13 callers
Method
getScore
Gets the score of the team with the given team ID. @param teamID team ID of the team. @return score of the team with the given team ID.
trunk/CengBall/src/common/MatchAssets.java:564
↓ 13 callers
Method
getTeam1
Gets the (home) team. @return a team object in the match.
trunk/CengBall/src/rare/Metadata.java:68
↓ 13 callers
Method
getTeam2
Gets the (away) team. @return a team object in the match.
trunk/CengBall/src/rare/Metadata.java:76
↓ 12 callers
Method
getGoalPost
Gets the goal post of the team with the given team ID. @param teamID team ID of the team. @return the goal post of the team.
trunk/CengBall/src/rare/Pitch.java:179
↓ 12 callers
Method
round
(double value, int places)
trunk/CengBall/src/utils/Utils.java:30
↓ 11 callers
Method
getActionType
Gets the type of the action of the highlight. @return the type of the action.
trunk/CengBall/src/rare/Highlight.java:50
↓ 11 callers
Method
getImage
Gets the image from the resource file. @param imageName the name of the image. @return image.
trunk/CengBall/src/utils/FileUtils.java:137
↓ 11 callers
Method
getPosAngle
Gets the positive value of the angle of the vector. @return positive value of the angle of the vector.
trunk/CengBall/src/rare/vector2D.java:101
↓ 11 callers
Method
getScreenDimension
()
trunk/CengBall/src/utils/Utils.java:18
↓ 11 callers
Method
multiply
Multiplies the vector with the given constant. @param k the constant to multiply the vector. @return multiplied vector
trunk/CengBall/src/rare/vector2D.java:114
↓ 10 callers
Method
getColor1
Gets the first color of the team @return color of the team.
trunk/CengBall/src/rare/TeamInfo.java:65
↓ 10 callers
Method
getFont
(String fontName, int fontSize, int style)
branches/runtime compiling/CengBall/src/utils/FileUtils.java:64
↓ 10 callers
Method
getPerceptList
Gets the percept list of the save file. @return a list of percepts.
trunk/CengBall/src/rare/SaveFile.java:56
↓ 10 callers
Method
setBackground
(Image img)
branches/gui-development/CengBall/src/gui/KickOffPanel.java:173
↓ 10 callers
Method
setBackground
(Image img)
trunk/CengBall/src/gui/KickOffPanel.java:174
↓ 9 callers
Method
getDistanceFrom
Gets the distance from a moving object to the player. @param object the object, which the distance between the player to be calculated. @return the di
trunk/CengBall/src/common/Player.java:317
↓ 9 callers
Method
getFatigueAbility
Gets the fatigue ability of the player. @return the fatigue ability of the player.
trunk/CengBall/src/common/Player.java:299
↓ 9 callers
Method
getIntent
Gets the intention of the player. @return intention of the player.
trunk/CengBall/src/common/Player.java:170
↓ 9 callers
Method
getPlayers
Gets the player list of the percept. @return an array of players.
trunk/CengBall/src/rare/Percept.java:102
↓ 9 callers
Method
getSelectedItem
()
trunk/CengBall/src/gui/Selector.java:114
↓ 9 callers
Method
getSpeedAbility
Gets the speed ability of the player. @return the speed ability of the player.
trunk/CengBall/src/common/Player.java:251
↓ 9 callers
Method
getSpeedAngle
Gets the speed angle. @return speed angle of the moving object.
trunk/CengBall/src/common/MovingObject.java:78
↓ 9 callers
Method
refresh
()
trunk/CengBall/src/gui/WatchPanel.java:160
↓ 8 callers
Method
getColor2
Gets the second color of the team. @return the second color of the team.
trunk/CengBall/src/rare/TeamInfo.java:81
↓ 8 callers
Method
getPlayerClosestToBall
Gets the player which is the closest to the ball among the given player list. @param players player list. @return the ID of closest player to the ball
trunk/CengBall/src/common/MatchAssets.java:321
↓ 8 callers
Method
getPreferredSize
()
branches/gui-development/CengBall/src/gui/Selector.java:107
↓ 8 callers
Method
getScreenHeightRatio
(int height)
trunk/CengBall/src/utils/Utils.java:26
↓ 8 callers
Method
getTrapDistance
Gets the trap distance of the ball. @return the trap distance
trunk/CengBall/src/common/Ball.java:92
↓ 8 callers
Method
getType
Gets the type. @return type of the moving object.
trunk/CengBall/src/common/MovingObject.java:139
↓ 8 callers
Method
setBackground
(Image img)
trunk/CengBall/src/gui/SettingsPanel.java:163
↓ 8 callers
Method
setIntent
Sets the intention of the player. @param intent intention to be set.
trunk/CengBall/src/common/Player.java:178
↓ 8 callers
Method
show
(String name)
branches/gui-development/CengBall/src/gui/MainPanel.java:36
↓ 8 callers
Method
trap
Sets the player's intention to trap the ball.(Capture the ball.) If there is a ball near the player, the player is going to try to capture the ball.
trunk/CengBall/src/common/Player.java:353
↓ 7 callers
Method
assembleTeam
Function to be overriden, default is average distribution @param numberOfPlayers @param halfCourt @return @throws CengBallException
trunk/CengBall/src/common/Team.java:57
↓ 7 callers
Method
getBall
()
branches/gui-development/CengBall/src/common/Percept.java:29
↓ 7 callers
Method
getBall
()
branches/runtime compiling/CengBall/src/common/Percept.java:29
↓ 7 callers
Method
getInstance
()
trunk/CengBall/src/gui/WatchPanel.java:136
↓ 7 callers
Method
getShootAbility
Gets the shoot ability of the player. @return the shoot ability of the player.
trunk/CengBall/src/common/Player.java:267
↓ 7 callers
Method
setOwner
Sets the owner of the ball object. @param player the new owner of the ball object.
trunk/CengBall/src/common/Ball.java:75
↓ 7 callers
Method
updateTime
(long miliseconds)
trunk/CengBall/src/gui/MatchPanel.java:216
↓ 6 callers
Method
clonePlayers
Clones the given player list. @param players player list to be cloned. @return cloned player list.
trunk/CengBall/src/common/Player.java:236
next →
1–100 of 788, ranked by callers