import class MinigameController extends inkGameController
{
	import editable var gameplayCanvas : inkWidgetRef;
	protected import var gameName : CName;

	public import function StartGame();

	protected virtual function OnGameFinishLogic( gameFinishEvent : GameFinishEvent ) {}

	protected event OnGameFinish( gameFinishEvent : GameFinishEvent )
	{
		if( gameFinishEvent.gameName == gameName )
		{
			OnGameFinishLogic( gameFinishEvent );
		}
	}

}

