Libraryless. Click here for Pure Java version (145L/1K).
1 | scope onePathDirections |
2 | |
3 | static final Pt[] #directions = { |
4 | pt(0, 0), |
5 | pt(-1, -1), |
6 | pt(0, -1), |
7 | pt(1, -1), |
8 | pt(1, 0), |
9 | pt(1, 1), |
10 | pt(0, 1), |
11 | pt(-1, 1), |
12 | pt(-1, 0) |
13 | }; |
14 | |
15 | static Pt[] onePathDirections() { ret directions; } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034960 |
Snippet name: | onePathDirections |
Eternal ID of this version: | #1034960/1 |
Text MD5: | 248f0c0a6655f065e1b80649d9a64427 |
Transpilation MD5: | a65c92140271ca8b0af1653e10549ee5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-18 00:43:33 |
Source code size: | 241 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 138 / 199 |
Referenced in: | [show references] |