Minor Convention Question

Started by
0 comments, last by hplus0603 17 years, 4 months ago
If the client says "At time X, I'm pressing the right key," does that mean that the right key is meant to be used during the transition from X-1 to X, or does that mean X is to be used from state X to X+1? Same question applies to state recordings for playback. Just wondering what others do.
Advertisement
I would think it means transition from X to X+1, but it's really up to you. Do whatever is easiest for your own system. Just make sure you document, unit test, and assert the correct behavior :-)
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement