Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="entity"></param>
 /// <param name="cellId"></param>
 /// <param name="movementPath"></param>
 public void Move(AbstractEntity entity, int cellId, string movementPath)
 {
     AddMessage(() =>
     {
         var path = DecodeMovement(entity, cellId, movementPath);
         if (path != null)
         {
             entity.Move(path);
         }
     });
 }