@@ -69,47 +69,47 @@ class Input
6969 /**
7070 * Checks if the input associated with the given tag was just pressed.
7171 * @param tag The action name to check.
72- * @return `true` If the key or gamepad button was just pressed, `false` otherwise.
72+ * @return `true` if the key or gamepad button was just pressed, `false` otherwise.
7373 */
7474 public static function justPressed (tag : String ): Bool
7575 return checkInput (tag , JUST_PRESSED );
7676
7777 /**
7878 * Checks if the input associated with the given tag is currently pressed.
7979 * @param tag The action name to check.
80- * @return `true` If the key or gamepad button is pressed, `false` otherwise.
80+ * @return `true` if the key or gamepad button is pressed, `false` otherwise.
8181 */
8282 public static function pressed (tag : String ): Bool
8383 return checkInput (tag , PRESSED );
8484
8585 /**
8686 * Checks if the input associated with the given tag was just released.
8787 * @param tag The action name to check.
88- * @return `true` If the key or gamepad button was just released, `false` otherwise.
88+ * @return `true` if the key or gamepad button was just released, `false` otherwise.
8989 */
9090 public static function justReleased (tag : String ): Bool
9191 return checkInput (tag , JUST_RELEASED );
9292
9393 /**
9494 * Checks if any of the inputs associated with the given tags were just pressed.
9595 * @param tags An array of action names to check.
96- * @return `true` If any of the keys or gamepad buttons were just pressed, `false` otherwise.
96+ * @return `true` if any of the keys or gamepad buttons were just pressed, `false` otherwise.
9797 */
9898 public static function anyJustPressed (tags : Array <String >): Bool
9999 return checkAnyInputs (tags , JUST_PRESSED );
100100
101101 /**
102102 * Checks if any of the inputs associated with the given tags are currently pressed.
103103 * @param tags An array of action names to check.
104- * @return `true` If any of the keys or gamepad buttons are currently pressed, `false` otherwise.
104+ * @return `true` if any of the keys or gamepad buttons are currently pressed, `false` otherwise.
105105 */
106106 public static function anyPressed (tags : Array <String >): Bool
107107 return checkAnyInputs (tags , PRESSED );
108108
109109 /**
110110 * Checks if any of the inputs associated with the given tags were just released.
111111 * @param tags An array of action names to check.
112- * @return `true` If any of the keys or gamepad buttons were just released, `false` otherwise.
112+ * @return `true` if any of the keys or gamepad buttons were just released, `false` otherwise.
113113 */
114114 public static function anyJustReleased (tags : Array <String >): Bool
115115 return checkAnyInputs (tags , JUST_RELEASED );
@@ -118,7 +118,7 @@ class Input
118118 * Checks if the input associated with the given tag is in the specified state.
119119 * @param tag The action name to check.
120120 * @param state The state to check.
121- * @return `true` If the key or gamepad button is in the specified state, `false` otherwise.
121+ * @return `true` if the key or gamepad button is in the specified state, `false` otherwise.
122122 */
123123 public static function checkInput (tag : String , state : FlxInputState ): Bool
124124 {
@@ -162,7 +162,7 @@ class Input
162162 * Checks if any of the inputs associated with the given tags are in the specified state.
163163 * @param tags An array of action names to check.
164164 * @param state The state to check.
165- * @return `true` If any of the keys or gamepad buttons are in the specified state, `false` otherwise.
165+ * @return `true` if any of the keys or gamepad buttons are in the specified state, `false` otherwise.
166166 */
167167 public static function checkAnyInputs (tags : Array <String >, state : FlxInputState ): Bool
168168 {
0 commit comments