Skip to content

Commit 6876399

Browse files
committed
Updated readme
1 parent 38fda6e commit 6876399

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ This pattern is useful if you have many objects. Even though a single object tak
4747

4848
**How to implement?**
4949

50-
* Separate the data that’s not specific to a single instance of that object and can be shared across all of them. You do that by creating a new class and put the shared data in it. Then each object that should share data gets a reference to a single instance of that "storage" class.
50+
* Separate the data that’s not specific to a single instance of that object and can be shared across all of them. You can do that by creating a new class and put the shared data in it. Then each object that should share data gets a reference to a single instance of that "storage" class.
5151

5252
**When is it useful?**
5353

5454
* If you make Minecraft and have a million cubes in the scene. All cubes can share the same texture if you put all textures that belongs to each cube type (grass, stone, sand, etc) into a [texture atlas](https://en.wikipedia.org/wiki/Texture_atlas).
5555

5656
**Related patterns**
5757

58-
* Type object(#12-type-object). The main difference is that in Type object you don't need to have the exact same data and you can also have behavior.
58+
* [Type object](#12-type-object). The main difference is that in Type object you don't need to have the exact same data and you can also have behavior.
5959

6060

6161

0 commit comments

Comments
 (0)