exaV / screeps-kotlin-types

Screep's Kotlin type definitions
MIT License
17 stars 18 forks source link

Added operator modifiers #73

Closed wesleyhall closed 3 years ago

wesleyhall commented 3 years ago

Added operator modifiers to Room.Terrain.get, CostMatrix.get and CostMatrix.set.

This allows syntax like terrain[x, y], costMatrix[x, y] and costMatrix[x, y] = 5, rather than having to call the get and set methods explicitly.

exaV commented 3 years ago

Thanks again!