Exemplo n.º 1
0
 public override void Activity(bool firstTimeCalled)
 {
     if (!IsPaused)
     {
         PlayerInstance.Activity();
     }
     else
     {
     }
     base.Activity(firstTimeCalled);
     if (!IsActivityFinished)
     {
         CustomActivity(firstTimeCalled);
     }
 }
Exemplo n.º 2
0
 public override void Activity(bool firstTimeCalled)
 {
     if (!IsPaused)
     {
         PlayerInstance.Activity();
         for (int i = PositionedObjectListInstance.Count - 1; i > -1; i--)
         {
             if (i < PositionedObjectListInstance.Count)
             {
                 // We do the extra if-check because activity could destroy any number of entities
                 PositionedObjectListInstance[i].Activity();
             }
         }
     }
     else
     {
     }
     base.Activity(firstTimeCalled);
     if (!IsActivityFinished)
     {
         CustomActivity(firstTimeCalled);
     }
 }