danbuis / ArmadaAIEngineNew

Revisit of an old project to create an AI for Star Wars Armada
1 stars 0 forks source link

Limit click inputs to 1 frame #107

Open danbuis opened 2 years ago

danbuis commented 2 years ago

Requirements

Right now every frame the mouse is clicked sends a click to the input handler.

Potential Solutions

Check the dice app repo for a useful solution. You can check if the mouse was clicked this frame by checking this frame to the prior. If its clicked now and not last, then proceed.

Potential Tasks

What does it take to call this issue complete?