-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9d6914
commit 298b35a
Showing
8 changed files
with
166 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Value | ||
|
||
--- | ||
|
||
用于为游戏引擎提供预先写好的通用类。 | ||
|
||
- 类的部分方法遵循下面原则: | ||
|
||
``` | ||
Set //返回值为void,类似有Add,Sub | ||
SetRNow //返回操作后的值 | ||
SetRChange //返回操作后减去操作前的差值 | ||
SetROri //返回操作前的值 | ||
``` | ||
|
||
|
||
|
||
## SafeValue | ||
|
||
所有类型的操作是线程安全的 | ||
|
||
- 不能保证不出现死锁 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.