Ejemplo n.º 1
0
 public void BuildFromMap(GroundMap map)
 {
     foreach (GroundBlockMap blockMap in map)
     {
         GroundBlock newBlock = GameObjectsFactory.getInstance().Create <GroundBlock>();
         newBlock.BuildFromMap(blockMap);
         AddBlock(newBlock);
     }
 }
Ejemplo n.º 2
0
 public void AddBlock(GroundBlock block)
 {
     blocksList.Add(block);
     block.transform.parent = transform;
 }