AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Using a State Machine to Translate Shapes
You can only have one session at a time. It's like a thing that begins and ends. So for example, you start dragging a shape around. Yo, you've drawn a shape. Now you've started moving it around. Ah, we ould call that like a translating session. And once this kicks off, only a couple of things can happen. Either it can can up date, like ocam moving the mouse now, i'm up dating right in the session. Or it can be cancelled. So maybe i press escape. I say, you know it, never mind. Put that thing back where it was. Or i'd complete it. We've created something like a