Add rotation view and path prediction toggles
This commit is contained in:
parent
ce6a707526
commit
5b861cc341
12 changed files with 195 additions and 19 deletions
|
@ -56,7 +56,6 @@ export function game() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
let editShadow = root();
|
||||
shadow.append(editShadow);
|
||||
editShadow.posRelative({x: 0.45, y: 0, w: 0.55, h: 0.6});
|
||||
|
@ -97,5 +96,16 @@ export function game() {
|
|||
|
||||
edit.guiInventory = inventory;
|
||||
|
||||
|
||||
let notification = new GuiText('', 0, 0, 0, 0, {
|
||||
size: 12,
|
||||
align: 'center',
|
||||
valign: 'top'
|
||||
});
|
||||
shadow.append(notification);
|
||||
notification.posRelative({x: 0.5});
|
||||
notification.y += 10;
|
||||
events.setNotificationElement(notification);
|
||||
|
||||
return shadow;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue