CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 18:16:33 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/AlmasB/FXGL.git
etag: W/"c7c80b2161d86bb9a4a22b858c15b9db"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=J%2FvtXaaxhfVHNMaxj2Ms28gdaMBgoFtaWfcuCdPgeTO4uMfEINqHS9dwC6CMWUGgO2wfWq%2Fdz34KzKomb610tcnbMkP5NZNQIGPWaQJ3CGbGrYb3l6iHApXh1DqhVWM3RM2plb1g9soYdK7309p2UpVbhwMeMgfaOk5DKqLeFx8KrGQ4rk%2B7D0zo09zRD3L%2FQvecOITbM%2BuKz2stbIZP13jMp5GMvIpdRMS875Q16fsqTJgZwhzaR%2FunEd%2FToZ5OaIkUMW1DlAwBf%2BD2ShvjjA%3D%3D--7NoOhfJ%2FAXrkuPRo--SXwJ4HNJ1e5kEYHHoMhv7g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1171595409.1753726592; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 18:16:32 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 18:16:32 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9AC4:F5E25:DAE18:1062FF:6887BE80
feat: Support 8 directions AStar pathfinding, closes #1213 · AlmasB/FXGL@641b614 · GitHub
Copy file name to clipboardExpand all lines: fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/Pathfinder.java
Copy file name to clipboardExpand all lines: fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/astar/AStarPathfinder.java
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: fxgl-entity/src/main/java/module-info.java
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 622
Commit 641b614
authored
File tree
Expand file treeCollapse file tree
7 files changed
+310
-10
lines changedFilter options
- fxgl-entity/src
- main/java
- com/almasb/fxgl/pathfinding
- astar
- heuristic
- test/kotlin/com/almasb/fxgl/pathfinding/astar
Expand file treeCollapse file tree
7 files changed
+310
-10
lines changedfxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/Pathfinder.java
Copy file name to clipboardExpand all lines: fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/Pathfinder.java+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 |
| |
26 | 34 |
| |
27 | 35 |
| |
28 | 36 |
| |
29 | 37 |
| |
30 | 38 |
| |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
31 | 47 |
|
fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/astar/AStarPathfinder.java
Copy file name to clipboardExpand all lines: fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/astar/AStarPathfinder.java+56-8Lines changed: 56 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 |
| |
12 | 18 |
| |
13 | 19 |
| |
| |||
18 | 24 |
| |
19 | 25 |
| |
20 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
21 | 30 |
| |
22 | 31 |
| |
23 | 32 |
| |
24 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
25 | 38 |
| |
| 39 | + | |
| 40 | + | |
26 | 41 |
| |
27 | 42 |
| |
28 | 43 |
| |
| |||
46 | 61 |
| |
47 | 62 |
| |
48 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
49 | 69 |
| |
50 | 70 |
| |
51 | 71 |
| |
52 | 72 |
| |
53 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
54 | 79 |
| |
55 | 80 |
| |
56 | 81 |
| |
| |||
62 | 87 |
| |
63 | 88 |
| |
64 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
65 | 104 |
| |
66 | 105 |
| |
67 | 106 |
| |
| |||
75 | 114 |
| |
76 | 115 |
| |
77 | 116 |
| |
| 117 | + | |
| 118 | + | |
78 | 119 |
| |
79 | 120 |
| |
80 | 121 |
| |
81 |
| - | |
| 122 | + | |
82 | 123 |
| |
83 | 124 |
| |
84 | 125 |
| |
| |||
92 | 133 |
| |
93 | 134 |
| |
94 | 135 |
| |
95 |
| - | |
| 136 | + | |
96 | 137 |
| |
97 | 138 |
| |
98 | 139 |
| |
| |||
101 | 142 |
| |
102 | 143 |
| |
103 | 144 |
| |
| 145 | + | |
| 146 | + | |
| 147 | + | |
104 | 148 |
| |
105 |
| - | |
| 149 | + | |
106 | 150 |
| |
107 |
| - | |
108 | 151 |
| |
109 |
| - | |
| 152 | + | |
110 | 153 |
| |
111 | 154 |
| |
112 | 155 |
| |
113 |
| - | |
| 156 | + | |
114 | 157 |
| |
115 | 158 |
| |
116 | 159 |
| |
| |||
165 | 208 |
| |
166 | 209 |
| |
167 | 210 |
| |
168 |
| - | |
169 |
| - | |
| 211 | + | |
| 212 | + | |
170 | 213 |
| |
171 | 214 |
| |
172 | 215 |
| |
173 | 216 |
| |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
174 | 222 |
|
fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/heuristic/Heuristic.java
Copy file name to clipboard+34Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + |
fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/heuristic/ManhattanDistance.java
Copy file name to clipboard+29Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + |
fxgl-entity/src/main/java/com/almasb/fxgl/pathfinding/heuristic/OctileDistance.java
Copy file name to clipboard+41Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + |
fxgl-entity/src/main/java/module-info.java
Copy file name to clipboardExpand all lines: fxgl-entity/src/main/java/module-info.java+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
|
You can’t perform that action at this time.
0 commit comments