This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test() { | |
return true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default defineEventHandler((event) => { | |
return { | |
hello: 'world' | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Calculates the path between two tiles. | |
* | |
* @param dst The destination tile of the path | |
* @param start The start tile of the path | |
* @return A list containing all tiles of the found path | |
*/ | |
public ArrayList<Tile> getPath(Tile dst, Tile start) { | |
closed.clear(); | |
open.clear(); |