﻿
using UnityEngine;
using System.Collections.Generic;
using GamingIsLove.Makinom;

namespace GamingIsLove.ORKFramework
{
	// Defines the name and help text of this access handler.
	[EditorSettingInfo("Custom", "This is a custom access handler.")]
	// The access handler holds the sub-handlers with their overridable functions.
	// See the API for details: http://api.orkframework.com/class_gaming_is_love_1_1_o_r_k_framework_1_1_access_handler.html
	public class CustomAccessHandler : AccessHandler
	{
		// The constructor needs to create the instances of the sub-handlers for actions, combatants, groups and inventory.
		public CustomAccessHandler()
		{
			this.actionAccess = new CustomActionAccessHandler();
			this.battleAccess = new CustomBattleAccessHandler();
			this.combatantAccess = new CustomCombatantAccessHandler();
			this.groupAccess = new CustomGroupAccessHandler();
			this.inventoryAccess = new CustomInventoryAccessHandler();
		}
	}
}
