첫 화면 띄우기 성공

This commit is contained in:
2018-11-26 04:05:34 +09:00
parent 8bb9ed8a18
commit af9cbb47ef
73 changed files with 350 additions and 289 deletions
+4 -3
View File
@@ -49,9 +49,10 @@ return "
";
}
function displayCharInfo(?int $type):string{
$info = getCharInfo($type);
$text = getGenChar($type);
function displayCharInfo(string $type):string{
$class = getPersonalityClass($type);
$info = $class::$info;
$text = $class::$name;
$templates = new \League\Plates\Engine(__dir__.'/templates');