Example #1
0
 /// <summary>
 /// Sends the given object to the given position.
 /// </summary>
 /// <param name="imgo">The IMovableGameObject which is sended to the destiantion.</param>
 /// <param name="target">The object where the group goes.</param>
 private void GoToTargetIMGO(IMovableGameObject imgo, IGameObject target)
 {
     imgo.GoToTarget(target);
     moveMgrControledDict.Add(imgo, target);
 }
Example #2
0
 /// <summary>
 /// Sends the given object to the given position. 
 /// </summary>
 /// <param name="imgo">The IMovableGameObject which is sended to the destiantion.</param>
 /// <param name="target">The object where the group goes.</param>
 private void GoToTargetIMGO(IMovableGameObject imgo, IGameObject target)
 {
     imgo.GoToTarget(target);
     moveMgrControledDict.Add(imgo, target);
 }
Example #3
0
 /// <summary>
 /// Sends the movable object to the position and registers the object to controlled movements.
 /// </summary>
 /// <param name="imgo">The movable object which is sended to the position of the game object.</param>
 /// <param name="gameObject">The object where the movable object goes.</param>
 /// <param name="reciever">The IFinishMovementReciever for the movable object.</param>
 public void GoToTarget(IMovableGameObject imgo, IGameObject gameObject, IFinishMovementReciever reciever)
 {
     imgo.GoToTarget(gameObject);
     moveMgrControledDict.Add(imgo, gameObject);
     finishMoveRecDict.Add(imgo, reciever);
 }
Example #4
0
 /// <summary>
 /// Sends the movable object to the position and registers the object to controlled movements.
 /// </summary>
 /// <param name="imgo">The movable object which is sended to the position of the game object.</param>
 /// <param name="gameObject">The object where the movable object goes.</param>
 /// <param name="reciever">The IFinishMovementReciever for the movable object.</param>
 public void GoToTarget(IMovableGameObject imgo, IGameObject gameObject, IFinishMovementReciever reciever)
 {
     imgo.GoToTarget(gameObject);
     moveMgrControledDict.Add(imgo, gameObject);
     finishMoveRecDict.Add(imgo, reciever);
 }