Browse Source

Load from LoadContent instead of Initialize

Jean-David Moisan 4 years ago
parent
commit
1b67ef29fd
2 changed files with 4 additions and 4 deletions
  1. 2 2
      README.md
  2. 2 2
      docs/getting-started.md

+ 2 - 2
README.md

@@ -23,10 +23,10 @@ Polling input library for MonoGame.
 
 ## Usage samples
 
-In your game's `Initialize()`, pass the game class to `InputHelper.Setup()`:
+In your game's `LoadContent()`, pass the game class to `InputHelper.Setup()`:
 
 ```csharp
-protected override void Initialize() {
+protected override void LoadContent() {
     InputHelper.Setup(this);
 }
 ```

+ 2 - 2
docs/getting-started.md

@@ -15,10 +15,10 @@ using Apos.Input;
 using Track = Apos.Input.Track;
 ```
 
-In your game's `Initialize()`, pass the game class to `InputHelper.Setup()`:
+In your game's `LoadContent()`, pass the game class to `InputHelper.Setup()`:
 
 ```csharp
-protected override void Initialize() {
+protected override void LoadContent() {
     InputHelper.Setup(this);
 }
 ```