Exemple #1
0
    public void Burn()
    {
        data.Burn(this);

        if (data.DestroyOnBurn)
        {
            destroyState = DestroryState.Burn;
        }
    }
Exemple #2
0
    public void Detonate()
    {
        data.Detonate(this);

        destroyState = DestroryState.Detonate;
    }