public Tuple <ParticipantImproved, ParticipantExtrinsicState> Create()
        {
            ParticipantType           type = GenerateType();
            ParticipantImproved       pi   = CreateParticipant(type);
            ParticipantExtrinsicState ps   = CreateParticipantExtrinsicState(type);

            return(new Tuple <ParticipantImproved, ParticipantExtrinsicState>(pi, ps));
        }
Example #2
0
 public ParticipantWrapper(ParticipantImproved pi, ParticipantExtrinsicState pex)
 {
     _pi  = pi;
     _pex = pex;
 }
        public ParticipantExtrinsicState CreateParticipantExtrinsicState(ParticipantType type)
        {
            ParticipantExtrinsicState p = new ParticipantExtrinsicState($"#{_id}", type);

            return(p);
        }
Example #4
0
 public void Animate(ParticipantExtrinsicState state)
 {
     AnimationManager.PerformAnimation(state.X, state.Y, state.Mode, IntrinsicState.AnimationBinaryData);
 }