Gambar. 2 contoh mesin state SDL.