[Kde-games-devel] Review Request 121653: Break out parts of updateSpriteMap to reduce code duplication

Jan-Peter Nilsson peppe at pappkartong.se
Fri Jan 2 21:55:17 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121653/
-----------------------------------------------------------

(Updated Jan. 2, 2015, 9:55 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Games.


Repository: kmahjongg


Description
-------

This patch breaks out parts of updateSpriteMap to private methods in order to reduce code duplication between the different viewing angles.


Diffs
-----

  boardwidget.h f1e0483 
  boardwidget.cpp 04ba8c5 

Diff: https://git.reviewboard.kde.org/r/121653/diff/


Testing
-------

I have verified that the center tile of the default layout remain at the same position as with the original code for all four angles.


Thanks,

Jan-Peter Nilsson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20150102/bc0cc970/attachment.html>


More information about the kde-games-devel mailing list