using System.Collections.Generic; using MoreMountains.Feedbacks; using SLSFramework.General; using UnityEngine; namespace Cielonos.MainGame.Characters { public class ReactionSubcontroller : SubcontrollerBase { public Dictionary> breakthroughResistances; public DodgeSubmodule dodgeSm; public BlockSubmodule blockSm; public override void Initialize() { base.Initialize(); breakthroughResistances = new Dictionary>() { { BreakthroughType.None, new CompoundVariable(true) }, { BreakthroughType.Weak, new CompoundVariable(true) }, { BreakthroughType.Medium, new CompoundVariable(true) }, { BreakthroughType.Heavy, new CompoundVariable(false) }, { BreakthroughType.SuperHeavy, new CompoundVariable(false) } }; dodgeSm = new DodgeSubmodule(this); blockSm = new BlockSubmodule(this); } public void Update() { dodgeSm.Update(); blockSm.Update(); } } }