A 2D tile-based sandbox game.
選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
12345678910111213141516 |
- #include "Clock.h"
-
- #include <time.h>
-
- namespace Swan {
-
- bool Clock::periodic(float secs) {
- if (time_ >= secs) {
- time_ = 0;
- return true;
- }
-
- return false;
- }
-
- }
|