Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 568 Bytes

XRoomVisual.md

File metadata and controls

12 lines (9 loc) · 568 Bytes

XRoomVisual

◼ RoomVisual.prototype.range (pos, min, max)

Shows the area in range max from pos with orange, the area in range min with green.

◼ StructureTower.prototype.showRange

Shows the range of the tower. Inside the green area is where the tower is the most efficient, outside the orange area where it is the least efficient.

◼ RoomVisual.prototype.outputArrow (x, y)

Draws a small, upward going red arrow at position (x, y).

◼ RoomVisual.prototype.inputArrow (x, y)

Draws a small, downward goind green arrow position (x, y).