fix type-object pattern readme

This commit is contained in:
Ilkka Seppälä committed 2023-10-22 21:00:47 +03:00
1 parent 024831a2a4
commit 8de2b27e25
1 file changed
-6
-6
View File
@@ -7,12 +7,6 @@ tag:
- Extensibility - Extensibility
--- ---
# Type-Object Pattern in Java
## Explanation
In Java, the Type-Object pattern is a design pattern that encapsulates type information in an object. This pattern is particularly useful when dealing with multiple objects of the same kind, and there is a need to add new types without altering existing code.
## Intent ## Intent
As explained in the book Game Programming Patterns by Robert Nystrom, type object pattern helps in As explained in the book Game Programming Patterns by Robert Nystrom, type object pattern helps in