Files
PlanetFleet/Assets/Scripts/Gui/engineerCommands.lua
T

54 lines
1.1 KiB
Lua

res = graphics.resolution
Size = {x = 100, y = 100}
gui = {
{
pos = {x = res.x - 200, y = res.y - 200},
size = Size,
imagePath = '',
guiType = GuiType.BUTTON,
buttonType = ButtonType.BUILD,
trigger = 76,
},
{
pos = {x = res.x - Size.x - 200, y = res.y - 200},
size = Size,
imagePath = '',
guiType = GuiType.BUTTON,
buttonType = ButtonType.BUILD,
trigger = 78,
},
{
pos = {x = res.x - 2 * Size.x - 200, y = res.y - 200},
size = {x = 100, y = 100},
imagePath = '',
guiType = GuiType.BUTTON,
buttonType = ButtonType.BUILD,
trigger = 77,
},
{
pos = {x = res.x - 3 * Size.x - 200, y = res.y - 200},
size = Size,
imagePath = '',
guiType = GuiType.BUTTON,
buttonType = ButtonType.BUILD,
trigger = 84,
},
{
pos = {x = res.x - 4 * Size.x - 200, y = res.y - 200},
size = Size,
imagePath = '',
guiType = GuiType.BUTTON,
buttonType = ButtonType.BUILD,
trigger = 68,
},
{
pos = {x = res.x - 5 * Size.x - 200, y = res.y - 200},
size = Size,
imagePath = '',
guiType = GuiType.BUTTON,
buttonType = ButtonType.BUILD,
trigger = 70,
},
}