토너먼트값, 전투, 계략값을 분리

This commit is contained in:
Hide_D committed 2020-03-29 05:03:49 +09:00
1 parent 0087d5784b
commit b116741e25
59 files changed
+858 -640

No files matched your search

+7
View File
@@ -720,4 +720,11 @@ class Util extends \utilphp\util
return 0;
}
function isPowerOfTwo(int $number):bool{
if($number <= 0){
return false;
}
return ($number & ($number - 1)) == 0;
}
};