DEADSOFTWARE

Add some survival inventory controls
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / windows / GameWindowsConfigs.kt
1 package ru.deadsoftware.cavedroid.game.windows
3 object GameWindowsConfigs {
4 data object Creative {
5 const val scrollIndicatorMarginLeft = 156f
6 const val scrollIndicatorMarginTop = 18f
7 const val scrollIndicatorFullHeight = 72f
9 const val itemsGridMarginLeft = 8f
10 const val itemsGridMarginTop = 18f
12 const val itemsGridRowHeight = 18f
13 const val itemsGridColWidth = 18f
15 const val itemsInRow = 8
16 const val itemsInCol = 5
18 const val invItems = 9
20 const val playerInventoryOffsetFromBottom = 24f
22 val itemsOnPage get() = itemsInCol * itemsInRow
23 }
25 data object Survival {
26 const val itemsGridMarginLeft = 8f
27 const val itemsGridMarginTop = 84f
29 const val itemsGridRowHeight = 18f
30 const val itemsGridColWidth = 18f
32 const val itemsInRow = 9
33 const val itemsInCol = 5
35 const val hotbarOffsetFromBottom = 24f
36 const val hotbarCells = 9
38 const val portraitMarginLeft = 24f
39 const val portraitMarginTop = 8f
40 const val portraitWidth = 48f
41 const val portraitHeight = 68f
42 }
43 }