瀏覽代碼

Add dedicated section for source code in ICondition

Jean-David Moisan 4 年之前
父節點
當前提交
a59e6a736b
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      docs/api/ICondition.md

+ 5 - 1
docs/api/ICondition.md

@@ -1,9 +1,13 @@
 # ICondition
 # ICondition
 
 
-An [ICondition](https://github.com/Apostolique/Apos.Input/blob/master/Source/ICondition.cs) is an abstraction over button-based input. A button can pressed or not pressed which maps to `on` or `off` respectively. By comparing it's previous and current states, we get the following cases.
+An ICondition is an abstraction over button-based input. A button can pressed or not pressed which maps to `on` or `off` respectively. By comparing it's previous and current states, we get the following cases.
 
 
 In the following functions, when `canConsume` is `true`, it means that the `Consume()` function gets called implicitly if the condition is part of the tracking system.
 In the following functions, when `canConsume` is `true`, it means that the `Consume()` function gets called implicitly if the condition is part of the tracking system.
 
 
+## Source code
+
+Read the [source code](https://github.com/Apostolique/Apos.Input/blob/master/Source/ICondition.cs).
+
 ---
 ---
 
 
 ## Pressed
 ## Pressed