Walkable mask painting

This commit is contained in:
Ian Gulliver
2021-05-17 04:26:18 +00:00
parent 0030b63e3a
commit 9d681291cc
43 changed files with 577 additions and 362 deletions

View File

@@ -1,7 +1,7 @@
import { AnimatableTile } from './animatable_tile.js';
export class SequenceTile extends AnimatableTile {
constructor(width, height, animations, tiles, delay, repeat) {
super(width, height, animations);
constructor(width, height, masks, animations, tiles, delay, repeat) {
super(width, height, masks, animations);
this.elem.style.position = 'relative';
const tile_chunk = 1 / tiles.length;
let animation = null;