Skip to content

Commit 2a2629a

Browse files
committed
update readme
1 parent 3107977 commit 2a2629a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Flecs is a powerful ECS framework written in C that provides high-performance da
3030

3131
```gradle
3232
dependencies {
33-
implementation 'io.github.elebras1:flecs-java:0.5.2'
34-
annotationProcessor 'io.github.elebras1:flecs-java:0.5.2'
33+
implementation 'io.github.elebras1:flecs-java:0.5.3'
34+
annotationProcessor 'io.github.elebras1:flecs-java:0.5.3'
3535
3636
}
3737
```
@@ -78,6 +78,9 @@ public class Example {
7878
Entity enemy = world.obtainEntity(world.entity("Enemy"));
7979
enemy.set(new Position(10, 5))
8080
.set(new Velocity(-0.5f, 0));
81+
82+
// Set number of worker threads
83+
world.setThreads(4);
8184

8285
// Create a movement system
8386
world.system("MoveSystem")

0 commit comments

Comments
 (0)