import GridSampler from './GridSampler' ; import DefaultGridSampler from './DefaultGridSampler' ; export default class GridSamplerInstance { private static gridSampler : GridSampler = new DefaultGridSampler ( ) ; param newGridSampler public static setGridSampler ( newGridSampler ) { GridSamplerInstance . gridSampler = newGridSampler ; } return public static getInstance ( ) { return GridSamplerInstance . gridSampler ; } }