Skip to content

Commit

Permalink
refactor: 删除无用属性
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim-shop committed May 11, 2023
1 parent 939f093 commit 9a8e9fa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions app/src/main/java/net/imshit/aircraftwar/gui/GameActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,9 @@ class GameActivity : AppCompatActivity() {
}
}

var width: Int = 0
private set
var height: Int = 0
private set

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// 获取配置
with(windowManager.currentWindowMetrics.bounds) {
width = right - left
height = bottom - top
}
val soundMode: Boolean
val gameMode: Difficulty
intent.apply {
Expand Down

0 comments on commit 9a8e9fa

Please sign in to comment.