#pragma once

#include "play/PLAY_COMMON.h"

#define STATE_COUNT STATE_RESULTS + 1
typedef enum StateType
{
	STATE_PLAY,
	STATE_TITLE,
	STATE_GAME_OVER,
	STATE_RESULTS
} StateType;

typedef struct Game Game;

typedef struct State
{
	Game* game;
	StateType type;
	union
	{
		Play play;
	};
} State;
