Commit bde1543b authored by Ashley's avatar Ashley

Added activate and deactivate methods to doors

parent 2b11e4cb
......@@ -65,6 +65,14 @@ public class DoorScript : MonoBehaviour {
}
}
}
}
public void activate()
{
unlockDoor();
}
public void deactivate()
{
state = State.locked;
}
}
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