mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 11:12:23 +00:00
fix type-object pattern readme
This commit is contained in:
1 parent
024831a2a4
commit
8de2b27e25
1 file changed
-6
@@ -7,12 +7,6 @@ tag:
|
||||
- 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
|
||||
As explained in the book Game Programming Patterns by Robert Nystrom, type object pattern helps in
|
||||
|
||||
|
||||
Reference in new issue
Block a user