Skip to content

Commit

Permalink
#4
Browse files Browse the repository at this point in the history
#4 Corrección de botón carita triste.
  • Loading branch information
libohorquez authored Oct 26, 2017
1 parent ee2701b commit d0d1929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Patrones2/src/tools/sad/SadPaintableFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -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?
}
Expand Down

0 comments on commit d0d1929

Please sign in to comment.