Browse Source

Rename Update to UpdateCleanup

Jean-David Moisan 6 years ago
parent
commit
fc231df80d
2 changed files with 3 additions and 3 deletions
  1. 2 2
      README.md
  2. 1 1
      Source/InputHelper.cs

+ 2 - 2
README.md

@@ -35,12 +35,12 @@ protected override void Update(GameTime gametime) {
     //...
 
     //Call Update at the end.
-    InputHelper.Update();
+    InputHelper.UpdateCleanup();
 }
 ```
 
 ```csharp
-//Create a condition to toggle fullscreen.
+//Create a conditioCan to toggle fullscreen.
 //It should work on both Alt keys and Enter.
 var toggleFullScreen = new ConditionComposite();
 toggleFullscreen.AddSet(Keys.Enter).AddNeed(Keys.LeftAlt);

+ 1 - 1
Source/InputHelper.cs

@@ -106,7 +106,7 @@ namespace Apos.Input {
         /// <summary>
         /// Call this at the end of your update loop.
         /// </summary>
-        public static void Update() {
+        public static void UpdateCleanup() {
             _textEvents.Clear();
         }