Log inGet started
Package

api.module

Newest version

README.md

api

The contract other kits use with slash2D: Slash.addTarget(entityId, { halfW, halfH, offsetX?, offsetY?, onHit }) / Slash.removeTarget(handle) to make an entity hittable on this peer, Slash.on("swing" | "hit", fn) for events every peer gets, and Slash.schemeWithAttack(baseName) to build a controlsKit scheme with an attack button. Called by enemy and prop code and by the Slash2D component.