Add inventory
This commit is contained in:
parent
548fb99c8b
commit
469121e18a
8 changed files with 200 additions and 22 deletions
|
@ -23,12 +23,14 @@ export function launchShip() {
|
|||
|
||||
export function editShip() {
|
||||
game.state.editing = true;
|
||||
game.state.inventory = true;
|
||||
edit.init();
|
||||
}
|
||||
|
||||
export function endEditing() {
|
||||
graphics.changePerspective('universe');
|
||||
game.state.editing = false;
|
||||
game.state.inventory = false;
|
||||
edit.end();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue