docs: add diagrams for spatial partition, special case, specification, state, step builder, strangler, strategy, subclass sandbox

This commit is contained in:
Ilkka Seppälä committed 2025-04-10 21:13:17 +03:00
1 parent 8e823909da
commit cd224ea5fe
16 files changed
+32 -4

No files matched your search

+4
View File
@@ -35,6 +35,10 @@ In plain words
> A base class defines an abstract sandbox method and several provided operations. Marking them protected makes it clear that they are for use by derived classes. Each derived sandboxed subclass implements the sandbox method using the provided operations.
Flowchart
![Subclass Sandbox flowchart](./etc/subclass-sandbox-flowchart.png)
## Programmatic Example of Subclass Sandbox Pattern in Java
Using the Subclass Sandbox pattern, developers can create distinct functionalities within Java applications, enhancing game development and software design.