|  |  | 
 |  |  |         this.getStartedTicker(); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     activateMapEvent = (leftEvent, rightEvent) => { | 
 |  |  |     activateMapEvent = (eventType, mapModel) => { | 
 |  |  |         if (this.mapEvent) { | 
 |  |  |             this.mapContainer.parent.off('mousedown'); | 
 |  |  |             this.mapEvent = null; | 
 |  |  | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |         this.mapEvent = (event) => { | 
 |  |  |             if (leftEvent && event.button === 0) { | 
 |  |  |                 switch (leftEvent) { | 
 |  |  |             if (eventType && event.button === 0) { | 
 |  |  |                 switch (eventType) { | 
 |  |  |                     case Utils.MapEvent.SELECTION_BOX: | 
 |  |  |                         this.mapSelect(event); | 
 |  |  |                         this.mapSelect(event, mapModel); | 
 |  |  |                         break | 
 |  |  |                     default: | 
 |  |  |                         break | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  |             if (rightEvent && event.button === 2) { | 
 |  |  |                 switch (rightEvent) { | 
 |  |  |                     default: | 
 |  |  |                         break | 
 |  |  |                 } | 
 |  |  | 
 |  |  |         this.mapContainer.parent.on('mousedown', this.mapEvent) | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     mapSelect = (event) => { | 
 |  |  |     mapSelect = (event, mapModel) => { | 
 |  |  |         let isSelecting = false; | 
 |  |  |         if (!this.selectionBox) { | 
 |  |  |             this.selectionBox = new PIXI.Graphics(); | 
 |  |  | 
 |  |  |                 isSelecting = false; | 
 |  |  |                 this.selectionBox.clear(); | 
 |  |  |  | 
 |  |  |                 console.log(mapModel); | 
 |  |  |                 // sprites batch move | 
 |  |  |                 Utils.spriteListBeMovable(this.selectedSprites, this.scale, () => { | 
 |  |  |                     this.activateMapEvent(Utils.MapEvent.SELECTION_BOX); |