aboutsummaryrefslogtreecommitdiff
path: root/contributing.md
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-12 14:47:15 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-12 14:47:15 +0100
commitd3c9a8afa68e79e7cf9a82ecd78be532751913dc (patch)
treef65ef5ae1bf0f7f85079b9daebeab21fb8b15a3d /contributing.md
parentf2e5b685fd1357b55beeea967b12b353c5d65fb5 (diff)
parent656df6ddd6b5231705798540c347efeebf8ac8a9 (diff)
Merge branch 'master' of github.com:lonkaars/crepe into jaro/collision-system
Diffstat (limited to 'contributing.md')
-rw-r--r--contributing.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/contributing.md b/contributing.md
index 8799057..a80f2b4 100644
--- a/contributing.md
+++ b/contributing.md
@@ -652,6 +652,20 @@ that you can click on to open them.
bool bar = 0;
```
</td></tr></table></details>
+- <details><summary>
+ The reason for <code>friend</code> relations are documented
+ </summary><table><tr><th>Good</th><th>Bad</th></tr><tr><td>
+
+ ```cpp
+ //! ComponentManager calls the private constructor of this class
+ friend class ComponentManager;
+ ```
+ </td><td>
+
+ ```cpp
+ friend class ComponentManager;
+ ```
+ </td></tr></table></details>
## CMakeLists-specific