Skip to content

Commit 8b50697

Browse files
author
Julien
committed
doc(sdk): fix typo, add detail
1 parent 10986ef commit 8b50697

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

playground/core-concepts/core-3-game-manager.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ The Game Manager's API will thus work with your `Player` class, which you may mo
7575

7676
## Working with Guice
7777

78-
Since the SDK uses injections to handle the instantiation of its different components, it is important to note a few things:
79-
- An injected field will be instantiated by Guice, those field with `@Inject` will always be `null` if you instantiate the class yourself.
80-
- Any simple class can be injected into yout `Referee` and you can inject the `Referee` or `GraphicEntityModule` into any custom class.
78+
Using Guice in your own code is totally optional but since the SDK uses injections to handle the instantiation of its different components, it is important to note a few things:
79+
- An injected field will be instantiated by Guice, those fields with `@Inject` will always be `null` if you instantiate the class yourself using the `new` operator.
80+
- Any simple class can be injected into your `Referee` and you can inject the `Referee` or `GraphicEntityModule` into any simple class.
81+
- Writing a lot of Guice code may cause the game to slow down.
8182

8283
### Example
8384

0 commit comments

Comments
 (0)