private void spawnBomb(BoardAction a)
        {
            GameObject temp = Instantiate(bombPrefab, Vector3.zero, Quaternion.identity, mapObjectsParent);

            temp.transform.localPosition = BombermanOverlord.FArrayToVec(a.pos);
            VisualBomb bomb = temp.GetComponent <VisualBomb> ();

            bomb.initBomb(a.targetID, 0, 0, explosionPrefab);
            currentGameObjects.Add(bomb as BombermanVisualObj);
        }
        public void initBoard(BoardUpdate board)
        {
            foreach (MapObj obj in board.currentMap)
            {
                if (obj.type == BombermanObjType.Player)
                {
                    GameObject tempObj = Instantiate(playerPrefab, Vector3.zero, Quaternion.identity, mapObjectsParent);
                    tempObj.transform.localPosition = BombermanOverlord.FArrayToVec(obj.pos);

                    VisualPlayer tempPlayer = tempObj.GetComponent <VisualPlayer> ();
                    tempPlayer.init(obj.color, playerColors [colorOrder[obj.color]], floatArrayToVec(obj.pos), obj.gameID);
                    players.Add(obj.color, tempPlayer);
                    currentGameObjects.Add(tempPlayer as BombermanVisualObj);
                }
            }
        }