-
-
Save SamuXarick/a4911ea4897a3c05837c9ccfb25b1009 to your computer and use it in GitHub Desktop.
DoCommandTest in Valuator
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 IsInsideRadiusOrSomething(tile, origin_tile, tangent_radius) { | |
return GSMap.DistanceSquare(tile, origin_tile) <= (tangent_radius * tangent_radius); | |
} | |
/// valuator | |
tile_list.Valuate(IsInsideRadiusOrSomething, origin_tile, tangent_radius); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment