Commit 6312759e authored by Ashley's avatar Ashley

Added activate and deactivate methods to torches

parent bde1543b
...@@ -39,4 +39,14 @@ public class Torch : MonoBehaviour { ...@@ -39,4 +39,14 @@ public class Torch : MonoBehaviour {
currentSprite.sprite = unlitTorch; currentSprite.sprite = unlitTorch;
} }
} }
public void activate()
{
activateTorch();
}
public void deactivate()
{
deactivateTorch();
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment