Skip to content

Instantly share code, notes, and snippets.

@goshdarngames
Created August 13, 2015 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goshdarngames/0a71e615d8c3da75c9ba to your computer and use it in GitHub Desktop.
Save goshdarngames/0a71e615d8c3da75c9ba to your computer and use it in GitHub Desktop.
/*****************************************************************************
* GameState.cs
*
* A common base type for all Game Manager states that grants access to
* the Game Data.
****************************************************************************/
using UnityEngine;
using System.Collections;
namespace BogeyGreen
{
public abstract class GameState
{
protected GameData gameData;
public GameState(GameData gameData)
{
this.gameData = gameData;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment