2
0
Эх сурвалжийг харах

Readme added space to comment starts

Jean-David Moisan 4 жил өмнө
parent
commit
22e141155d
1 өөрчлөгдсөн 7 нэмэгдсэн , 7 устгасан
  1. 7 7
      README.md

+ 7 - 7
README.md

@@ -35,19 +35,19 @@ In your game's `Update(GameTime gameTime)`, call the two functions:
 
 
 ```csharp
 ```csharp
 protected override void Update(GameTime gametime) {
 protected override void Update(GameTime gametime) {
-    //Call UpdateSetup at the start.
+    // Call UpdateSetup at the start.
     InputHelper.UpdateSetup();
     InputHelper.UpdateSetup();
 
 
-    //...
+    // ...
 
 
-    //Call UpdateCleanup at the end.
+    // Call UpdateCleanup at the end.
     InputHelper.UpdateCleanup();
     InputHelper.UpdateCleanup();
 }
 }
 ```
 ```
 
 
 ```csharp
 ```csharp
-//Create a condition to jump.
-//It should work on space, the first gamepad's A button, or the mouse's left button.
+// Create a condition to jump.
+// It should work on space, the first gamepad's A button, or the mouse's left button.
 ICondition jump =
 ICondition jump =
     new AnyCondition(
     new AnyCondition(
         new KeyboardCondition(Keys.Space),
         new KeyboardCondition(Keys.Space),
@@ -57,9 +57,9 @@ ICondition jump =
 ```
 ```
 
 
 ```csharp
 ```csharp
-//To check if the jump is triggered:
+// To check if the jump is triggered:
 if (jump.Pressed()) {
 if (jump.Pressed()) {
-    //Do the jump change.
+    // Do the jump change.
 }
 }
 ```
 ```