MatthewScholefield / mine-ds

A 2D survival game for the Nintendo DS
http://matthewscholefield.github.io/mine-ds/
GNU General Public License v3.0
21 stars 0 forks source link

Add a state machine #60

Closed MatthewScholefield closed 8 years ago

MatthewScholefield commented 8 years ago

A state machine is necessary for a vBlank handler. Examples of states would be items such as "IN_GAME" and "IN_MENU".

MatthewScholefield commented 8 years ago

This is debatable because the vblank handlers can be changed at runtime based on whether the game is in a menu or a main loop.