Editing Miniature/Development/Architecture
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 27: | Line 27: | ||
== Big Blocks Diagram == | == Big Blocks Diagram == | ||
- | [[Image: | + | [[Image:blocks.png]] |
1. MPosition is the centre block, represents a position on the board. Could be encoded as a FEN string or as a 8x8 array with pieces enum'ed or as something else. | 1. MPosition is the centre block, represents a position on the board. Could be encoded as a FEN string or as a 8x8 array with pieces enum'ed or as something else. | ||
Line 40: | Line 40: | ||
6. MExtra and MExtraView - everything else not directly related to a chess - chat, ratings, pictures etc. | 6. MExtra and MExtraView - everything else not directly related to a chess - chat, ratings, pictures etc. | ||
- | |||
Line 57: | Line 56: | ||
- If the move is not valid, the previous position is sent back to MBoardView, "Illegal move" dialog is displayed | - If the move is not valid, the previous position is sent back to MBoardView, "Illegal move" dialog is displayed | ||
- | + | --[[User:boris_r|boris_r]] 17:28, 13 November 2009 (UTC) | |
- | + | ||
- | + | ||
- | + | ||
- | --[[User:boris_r|boris_r]] | + | |
== Current design in master branch == | == Current design in master branch == | ||
The diagram shows classes and their associations. Furthermore, it shows signals and slots. The naming conventions should make clear which slot responds to which signal during runtime. The remaining public API has been left out, because it's all in a flux right now. | The diagram shows classes and their associations. Furthermore, it shows signals and slots. The naming conventions should make clear which slot responds to which signal during runtime. The remaining public API has been left out, because it's all in a flux right now. | ||
[[Image:MiniatureArchClassDiagram.png|thumb]] | [[Image:MiniatureArchClassDiagram.png|thumb]] |
Learn more about Contributing to the wiki.