public override void SimulateController()
 {
     if (newClick)
     {
         newClick = false;
         ISpellcasterSelectCommandInput input = SpellcasterSelectCommand.Create();
         input.alchemistChosen    = alchemistChosen;
         input.arcanistChosen     = arcanistChosen;
         input.elementalistChosen = elementalistChosen;
         input.chronomancerChosen = chronomancerChosen;
         input.illusionistChosen  = illusionistChosen;
         input.summonerChosen     = summonerChosen;
         entity.QueueInput(input);
     }
 }
        public override void ExecuteCommand(Command command, bool resetState)
        {
            // May have to delete this after testing.
            if (!entity.isOwner)
            {
                return;
            }

            if (!resetState && command.IsFirstExecution)
            {
                SpellcasterSelectCommand selectCommand = command as SpellcasterSelectCommand;
                state.AlchemistSelected    = selectCommand.Input.alchemistChosen;
                state.ArcanistSelected     = selectCommand.Input.arcanistChosen;
                state.ElementalistSelected = selectCommand.Input.elementalistChosen;
                state.ChronomancerSelected = selectCommand.Input.chronomancerChosen;
                state.IllusionistSelected  = selectCommand.Input.illusionistChosen;
                state.SummonerSelected     = selectCommand.Input.summonerChosen;
            }
        }