mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-25 04:07:23 +00:00
Rename getLayer
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
log,
|
||||
debug,
|
||||
error,
|
||||
getLayer,
|
||||
getLayerPixels,
|
||||
getWindowHeight
|
||||
} from './shared.js';
|
||||
import {
|
||||
@@ -136,7 +136,7 @@ function startApplication(birbPixels, featherPixels) {
|
||||
const FEATHER_SPRITE_SHEET = featherPixels;
|
||||
|
||||
const featherLayers = {
|
||||
feather: new Layer(getLayer(FEATHER_SPRITE_SHEET, 0, FEATHER_SPRITE_WIDTH)),
|
||||
feather: new Layer(getLayerPixels(FEATHER_SPRITE_SHEET, 0, FEATHER_SPRITE_WIDTH)),
|
||||
};
|
||||
|
||||
const featherFrames = {
|
||||
|
||||
Reference in New Issue
Block a user