“trible shot” timer

Andrew Lengen
Jun 10, 2021

--

I realized I forgot to add in the means to have it deactivate after a certain amount of time — we need IEnumerators!

With our IEnumerator, we’re going to allow triple shot to be enabled for 5 seconds, then disable triple shot!

With this in place…

We now need to make a call to it from our function, _tripleshotCheck()!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Andrew Lengen
Andrew Lengen

Written by Andrew Lengen

If ambition and practicality amalgamated, it would be me! I am here to climb the mountains of my ambition and catalog my journey so that someone can be changed!

No responses yet

Write a response