Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gadig
four
Commits
c7583795
Commit
c7583795
authored
Oct 20, 2016
by
Cody A Burchett
Browse files
-m additional comment
parent
7b5d33f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Assets/script/Heap.cs
View file @
c7583795
...
@@ -8,6 +8,8 @@ public class Heap <Tile> where Tile : HeapItem<Tile>{
...
@@ -8,6 +8,8 @@ public class Heap <Tile> where Tile : HeapItem<Tile>{
Tile
[]
heapTiles
;
Tile
[]
heapTiles
;
int
itemCount
;
int
itemCount
;
//replace openList with Heap
//add heapIndex, compareTo to tile class
//add heapIndex, compareTo to tile class
//compare fCost of node then hCost
//compare fCost of node then hCost
//item.compareTo(item2) should return pos if item is less than item2, neg if item is greater than item2
//item.compareTo(item2) should return pos if item is less than item2, neg if item is greater than item2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment