Skip to content

Commit d0a4779

Browse files
committed
fix(playground): updated spritesheetsplitter doc
1 parent 009c296 commit d0a4779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playground/graphics/graphics-4-spritesheets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The Graphic Entity Module can cut and handle spritesheets. There are two ways of doing that.
44

5-
## Using the SpriteSheetLoader
5+
## Using the SpriteSheetSplitter
66

77
This is the easiest way to create a set of sprites from a spritesheet. This solution is good for prototyping but it is performance costly.
88

@@ -16,7 +16,7 @@ For this example, we will use this spritesheet (taken from our [free to use asse
1616
- We want to use all the images starting from the top left corner, so the `OrigRow` and `OrigCol` must be set to 0
1717

1818
```java
19-
String[] seaweedSprites = graphicEntityModule.createSpriteSheetLoader()
19+
String[] seaweedSprites = graphicEntityModule.createSpriteSheetSplitter()
2020
.setSourceImage("spritesheet.png")
2121
.setImageCount(12)
2222
.setWidth(128)

0 commit comments

Comments
 (0)