public GameObject GetExplosionObject(BlockQuestType questType) { switch (questType) { case BlockQuestType.CLEAR_SIMPLE: return(Instantiate(explosion) as GameObject); default: return(Instantiate(explosion) as GameObject); } }
//--------------------------------------------------------------------- // Constructor //--------------------------------------------------------------------- public Block(BlockType blockType) { m_BlockType = blockType; status = BlockStatus.NORMAL; questType = BlockQuestType.CLEAR_SIMPLE; match = MatchType.NONE; m_Breed = BlockBreed.NA; m_nDurability = 1; }