initialize () {
    this.redraw = true
    this.layers = new Map()
    let layerNames = ['ground', 'visuals', 'structure']    
    for (var i = 0; i < layerNames.length; i++) {
      let name = layerNames[i]
      let texture = this.game.add.renderTexture(this.viewWidthPx, this.viewHeightPx, name)
      let renderS = this.game.add.sprite(0, 0, texture)
      renderS.fixedToCamera = true
      this.layers.set(name, {texture: texture, renderS: renderS})
    }
  }
/**
   * Called upon starting a new game, initializes the RenderTextures
   * used to display the ViewTiles
   * 
   * @memberof MapView
   */
Called upon starting a new game, initializes the RenderTextures
used to display the ViewTiles


Called upon starting a new game initializes the RenderTextures used to display the ViewTiles
initialize () {
    this.redraw = true
    this.layers = new Map()
    let layerNames = ['ground', 'visuals', 'structure']    
    for (var i = 0; i < layerNames.length; i++) {
      let name = layerNames[i]
      let texture = this.game.add.renderTexture(this.viewWidthPx, this.viewHeightPx, name)
      let renderS = this.game.add.sprite(0, 0, texture)
      renderS.fixedToCamera = true
      this.layers.set(name, {texture: texture, renderS: renderS})
    }
  }
initialize ( ) { this . redraw = true this . layers = new Map ( ) let layerNames = [ 'ground' , 'visuals' , 'structure' ] for ( var i = 0 ; i < layerNames . length ; i ++ ) { let name = layerNames [ i ] let texture = this . game . add . renderTexture ( this . viewWidthPx , this . viewHeightPx , name ) let renderS = this . game . add . sprite ( 0 , 0 , texture ) renderS . fixedToCamera = true this . layers . set ( name , { texture : texture , renderS : renderS } ) } }
Called upon starting a new game, initializes the RenderTextures
 used to display the ViewTiles
Called upon starting a new game initializes the RenderTextures used to display the ViewTiles