1
0
Fork 0
This commit is contained in:
Michaël Lemaire 2018-07-10 16:49:40 +02:00
parent 53a99dae54
commit 4a7e50eaaa
2 changed files with 2 additions and 4 deletions

View File

@ -51,9 +51,8 @@ Battle
* Show a cooldown indicator on move action icon, if the simulation would cause the engine to overheat
* [WIP] Add an hexagonal grid
* Use the grid for "border" exclusion areas
* Use distances in units of this grid (add a multiplier to be compatible with no grid mode)
* Fix repel effect to snap to grid (beware of two ships being moved to the same location!)
* Fix engine targetting producing out-of-grid coordinates because of exclusion areas
* Check if move target is already occupied (replaces hard exclusion area)
* Fix repel effect to snap to grid and use grid units (beware of two ships being moved to the same location!)
* Display the grid in targetting mode, with colors (replaces range hint)
* Fix move-fire simulator's scanCircle
* Fix tactical AI scanArea

View File

@ -18,7 +18,6 @@ module TK.SpaceTac {
* Check that an arena location is on a grid vertex
*/
check(loc: IArenaLocation): boolean {
console.log(loc, this.snap(loc), arenaDistance(loc, this.snap(loc)));
return arenaDistance(loc, this.snap(loc)) < 1e-8;
}