Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1034960 // onePathDirections

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (145L/1K).

scope onePathDirections

static final Pt[] #directions = {
  pt(0, 0),
  pt(-1, -1),
  pt(0, -1),
  pt(1, -1),
  pt(1, 0),
  pt(1, 1),
  pt(0, 1),
  pt(-1, 1),
  pt(-1, 0)
};

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: 139 / 200
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1034961 - onePathLookupDirection