Add: RankingRecordManager
This commit is contained in:
@@ -7,6 +7,7 @@ class RecordBoard {
|
||||
this.chartGraphics = game.add.graphics(0, 0);
|
||||
|
||||
this.printRecordBoardHeader();
|
||||
this.printSeperator();
|
||||
|
||||
let historyBoard = new HistoryBoard();
|
||||
let rankingBoard = new RankingBoard();
|
||||
@@ -33,12 +34,6 @@ class RecordBoard {
|
||||
|
||||
posX = 780;
|
||||
this.printHeader(posX, posY, "이달의 순위", style);
|
||||
|
||||
posX = 300;
|
||||
posY = 480;
|
||||
this.chartGraphics.lineStyle(3, 0x444444, 1);
|
||||
this.chartGraphics.moveTo(posX, posY);
|
||||
this.chartGraphics.lineTo(posX, posY + 200);
|
||||
}
|
||||
|
||||
printHeader(x, y, title, style) {
|
||||
@@ -47,6 +42,15 @@ class RecordBoard {
|
||||
.setShadow(3, 3, 'rgba(0, 0, 0, 0.5)', 2);
|
||||
}
|
||||
|
||||
printSeperator() {
|
||||
const posX = 300;
|
||||
const posY = 480;
|
||||
|
||||
this.chartGraphics.lineStyle(3, 0x444444, 1);
|
||||
this.chartGraphics.moveTo(posX, posY);
|
||||
this.chartGraphics.lineTo(posX, posY + 200);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
RecordBoard.HEADER_BAR_HEIGHT_PX = 60;
|
||||
Reference in New Issue
Block a user