|
- constructor(public name: string, imgUrl: string, capacity: number, scene: Scene, spriteJSON: string | null = null, epsilon: number = 0.01, samplingMode: number = Texture.TRILINEAR_SAMPLINGMODE) {
|
|
|
|
|
|
+ imgUrl: string, capacity: number, scene: Scene, spriteJSON: string | null = null, epsilon: number = 0.01, samplingMode: number = Texture.TRILINEAR_SAMPLINGMODE) {
|
|
//the cellSize parameter is not used when built from JSON which provides individual cell data, defaults to 64 if JSON load fails
|
|
//the cellSize parameter is not used when built from JSON which provides individual cell data, defaults to 64 if JSON load fails
|
|
super(name, imgUrl, capacity, 64, scene, epsilon, samplingMode, true, spriteJSON);
|
|
super(name, imgUrl, capacity, 64, scene, epsilon, samplingMode, true, spriteJSON);
|