예제 #1
0
        public void EyeInput(IFixationData fixation)
        {
            //Sending the fixation data to each of the hotspots
            foreach (StateHotspot sh in stateHotspots)
            {
                sh.Fixation(fixation.GetFixationLocation());
            }

            //Passing fixation data to the current state
            currentState.EyeInput(fixation);
        }
 void sharedData_fixationEvent(Fixation newFixation)
 {
     controlState.EyeInput(newFixation);
 }