WIP
This commit is contained in:
parent
53a99dae54
commit
4a7e50eaaa
5
TODO.md
5
TODO.md
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue