Real tileset support
This commit is contained in:
@@ -13,7 +13,7 @@ export class SimpleTileFactory extends AnimatableTileFactory {
|
||||
return new SimpleTile(
|
||||
this.width,
|
||||
this.height,
|
||||
`images/${tileset}/${this.name}.svg`,
|
||||
`images/${this.name.replace('{tileset}', tileset)}.svg`,
|
||||
this.animations,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user