Rename getLayer

This commit is contained in:
Idrees Hassan
2026-01-18 18:05:36 -05:00
parent fd865cacb8
commit ca1495a9f1
9 changed files with 74 additions and 74 deletions

View File

@@ -193,7 +193,7 @@ export function error() {
* @param {number} width The width of each sprite
* @returns {string[][]}
*/
export function getLayer(spriteSheet, spriteIndex, width) {
export function getLayerPixels(spriteSheet, spriteIndex, width) {
// From an array of a horizontal sprite sheet, get the layer for a specific sprite
const layer = [];
for (let y = 0; y < width; y++) {