summaryrefslogtreecommitdiff
path: root/game/network/network.impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/network/network.impl.h')
-rw-r--r--game/network/network.impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/game/network/network.impl.h b/game/network/network.impl.h
index ddb1ae5..699cb94 100644
--- a/game/network/network.impl.h
+++ b/game/network/network.impl.h
@@ -10,3 +10,12 @@ NetworkOf<T>::render(const Shader & shader) const
texture->Bind();
links.apply(&T::render, shader);
}
+
+template<typename T>
+void
+NetworkOf<T>::joinLinks(const LinkPtr & l) const
+{
+ for (const auto & ol : links.objects) {
+ Network::joinLinks(l, ol);
+ }
+}