From 2555857d9f54bcbaa72f3cb9ee26cd0e814905b3 Mon Sep 17 00:00:00 2001 From: elbetancourt1 <31046810+elbetancourt1@users.noreply.github.com> Date: Wed, 25 Oct 2017 20:51:05 -0500 Subject: [PATCH] #4 Ajuste realizado para retornar cara triste --- Patrones2/src/tools/sad/SadPaintableFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Patrones2/src/tools/sad/SadPaintableFactory.java b/Patrones2/src/tools/sad/SadPaintableFactory.java index d96083c..27499dd 100644 --- a/Patrones2/src/tools/sad/SadPaintableFactory.java +++ b/Patrones2/src/tools/sad/SadPaintableFactory.java @@ -15,7 +15,7 @@ public Paintable create(int x1, int y1, int x2, int y2) { if (useImage) { return new SadImageFace(x1, y1, x2, y2); } else { - return new DrawnFace(x1, y1, x2, y2,SmileConstants.SMILE_UP); + return new DrawnFace(x1, y1, x2, y2,SmileConstants.SMILE_DW); //¿Qué pasa si le asigno un numero en lugar de SmileConstants.SMILE_UP? //¿Porqué no genera error? }