Home > other >  Creates a new object, the use of the time say the key word in the dictionary, don't know what t
Creates a new object, the use of the time say the key word in the dictionary, don't know what t

Time:09-25

Public class CrowdAnimationCharacterController: AbstractCharacterController
{
# region field
Private Vector3 _currentKeyPosition;
Private Vector3 _currentRealForward;
Private Vector3 _currentPrefForward;
//private AgentStatus _agentStatus;
Public AgentStatus _agentStatus;
//public CrowdAnimationCharactersController c;
Creates a new object
C=new CrowdAnimationCharactersController CrowdAnimationCharactersController (PreviewController. Instance);
# endregion
# region construction method
///& lt; Summary>
///initializes the new crowd animation files
the role of the controller///& lt;/summary>
///& lt; Param name="charactersController & gt;" Character controller & lt;/param>
Public CrowdAnimationCharacterController (CrowdAnimationCharactersController charactersController)
: base (charactersController) {}
# endregion

# region Update
Public override void Update (GameControlTime gameTime)
{

If (! This. _agentStatus. IsEnd)//in the process of movement
{

Single actualLength=(.... This _agentStatus NextPosition - this _model Position). The Length ();
If (this. _agentStatus. GroupName=="0")
Disruptions here said "the key word in the dictionary
Be sad etRandomCharacter0 chtistina georgina rossetti.british poetess enclosing LoadCharacter ((c. _groupMappingSettings [this. _agentStatus. GroupName]. ID));
If (this. _agentStatus. GroupName=="1")
Disruptions in the following sentence: a specified key word in the dictionary
Be sad etRandomCharacter1 chtistina georgina rossetti.british poetess enclosing LoadCharacter ((c. _groupMappingSettings [this. _agentStatus. GroupName]. ID));

More 0
  • Related