Пример #1
0
 public void MoveFurniture(Furniture_Recepteur recepteur, Vector3 oldPosition, Vector3 newPosition)
 {
     if (oldPosition != newPosition)
     {
         Commande commande = new MoveTo(recepteur.getGameObject(), oldPosition, newPosition);
         commande.Do();
         commandeList.Push(commande);
     }
 }