Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Pathfinding/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group 'me.nabdev.pathfinding'
version '0.12.8'
version '0.12.8-beta2'

java {
withSourcesJar()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public enum Field {
*/
CHARGED_UP_2023,

/**
* The 2022 field (Rapid React)
*/
RAPID_REACT_2022,

/**
* A debug field for testing
*/
Expand Down
170 changes: 109 additions & 61 deletions Pathfinding/src/main/resources/rapid_react_2022.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format_version": 2,
"formatVersion": 2,
"fieldX": 16.4592,
"fieldY": 8.2296,
"obstacles": [
Expand Down Expand Up @@ -90,136 +90,184 @@
{
"id": "BlueTerminal",
"vertices": [
[],
[],
[],
[]
[
-0.87903619,
1.3401739
],
[
0,
2.18170197
],
[
2.08860961,
0
],
[
1.20957342,
-0.84152807
]
]
},
{
"id": "RedTerminal",
"vertices": [
[],
[],
[],
[]
[
14.37059039,
8.2296
],
[
15.24687443,
9.06849335
],
[
17.33548404,
6.88679138
],
[
16.4592,
6.04789803
]
]
},
{
"id": "CenterHub",
"vertices": [
[],
[],
[],
[]
[
7.11797532,
3.6198728
],
[
7.7346728,
5.22642468
],
[
9.34122468,
4.6097272
],
[
8.7245272,
3.00317532
]
]
},
{
"id": "BlueHub",
"vertices": [
[],
[],
[],
[]
[
7.06437502,
3.39095567
],
[
6.91199114,
3.73321548
],
[
7.21291328,
3.86719465
],
[
7.36529716,
3.52493484
]
]
},
{
"id": "RedHub",
"vertices": [
[],
[],
[],
[]
[9.24628672, 4.36240535],
[9.09390284, 4.70466516],
[9.39482498, 4.83864433],
[9.54720886, 4.49638452]
]
},
{
"id": "TopHub",
"vertices": [
[],
[],
[],
[]
[7.63973484, 4.97910284],
[7.50575567, 5.28002498],
[7.84801548, 5.43240886],
[7.98199465, 5.13148672]
]
},
{
"id": "BottomHub",
"vertices": [
[],
[],
[],
[]
[8.61118452, 2.79719114],
[8.47720535, 3.09811328],
[8.81946516, 3.25049716],
[8.95344433, 2.94957502]
]
},
{
"id": "BlueTLPost",
"vertices": [
[],
[],
[],
[]
[0, 7.626858],
[0, 8.2296],
[0.6096, 8.2296],
[0.6096, 7.626858]
]
},
{
"id": "BlueTRPost",
"vertices": [
[],
[],
[],
[]
[2.76225, 7.62635],
[2.76225, 8.2296],
[3.37185, 8.2296],
[3.37185, 7.62635]
]
},
{
"id": "BlueBLPost",
"vertices": [
[],
[],
[],
[]
[0, 5.1816],
[0, 5.7912],
[0.6096, 5.7912],
[0.6096, 5.1816]
]
},
{
"id": "BlueBRPost",
"vertices": [
[],
[],
[],
[]
[2.76274821, 5.182108],
[2.76274821, 5.791708],
[3.37234821, 5.791708],
[3.37234821, 5.182108]
]
},
{
"id": "RedTLPost",
"vertices": [
[],
[],
[],
[]
[13.08685179, 2.4384],
[13.08685179, 3.048],
[13.69645179, 3.048],
[13.69645179, 2.4384]
]
},
{
"id": "RedTRPost",
"vertices": [
[],
[],
[],
[]
[15.8496, 2.438908],
[15.8496, 3.048508],
[16.4592, 3.048508],
[16.4592, 2.438908]
]
},
{
"id": "RedBLPost",
"vertices": [
[],
[],
[],
[]
[13.08735, 0],
[13.08735, 0.603758],
[13.69695, 0.603758],
[13.69695, 0]
]
},
{
"id": "RedBRPost",
"vertices": [
[],
[],
[],
[]
[15.8496, 0],
[15.8496, 0.603258],
[16.4592, 0.603258],
[16.4592, 0]
]
}
]
Expand Down
Loading