Fix: show best record with DB
This commit is contained in:
@@ -8,6 +8,8 @@ class ScreenBottom {
|
||||
this.BOTTOM_BAR_NAME_WIDTH = 200;
|
||||
this.BOTTOM_BAR_TEXT_OFFSET = 10;
|
||||
|
||||
this.dbConnectManager = new DBConnectManager();
|
||||
|
||||
this.bottomAreaPositionY = game.world.height - this.BOTTOM_BAR_HEIGHT;
|
||||
|
||||
let style = { font: "32px Arial", fill: "#fff", align: "left", boundsAlignH: "left", boundsAlignV: "bottom" };
|
||||
@@ -61,4 +63,8 @@ class ScreenBottom {
|
||||
this.rightText.text = text;
|
||||
}
|
||||
|
||||
printBottomLeftTextWithBestRecord(bestRecord) {
|
||||
this.printBottomLeftText("오늘의 최고 기록 : " + bestRecord);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user