툴팁 준비
This commit is contained in:
@@ -64,6 +64,17 @@ function CoreTurnTable() {
|
||||
";
|
||||
}
|
||||
|
||||
function displaySpecialInfo(?int $type):string{
|
||||
$info = getSpecialInfo($type);
|
||||
$text = getGenSpecial($type);
|
||||
|
||||
$templates = new \League\Plates\Engine(__dir__.'/templates');
|
||||
|
||||
return $templates->render('tooltip', [
|
||||
'text'=>$text,
|
||||
'info'=>$info,
|
||||
]);
|
||||
}
|
||||
|
||||
function allButton() {
|
||||
$db = DB::db();
|
||||
|
||||
Reference in New Issue
Block a user