Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Java State Machines, and their Uses

$
0
0
I am having difficulty understanding State Machines, even after looking at Dogstopper's tutorial on them, I am still do not understand them. More specifically, there are some parts of the code in that tutorial like SpaceFrame and the listeners. I understand how listeners work, but for some reason I do not get this one. :(/>

I am trying to figure out how to use them for further application, so there is no goal as of yet, but one thing I am trying to do is make a menu that can take you to different points in the program (e.g. Help)

On a side, I would like to know whether or not state machines are a good choice for programs, if so what kinds.

I have tried several approaches but most of them got cluttered and/or too complicated.

Any help would be greatly appreciated as I have been struggling with these for a while.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>