Add inventory

This commit is contained in:
asraelite 2018-03-05 15:05:55 +00:00
parent 548fb99c8b
commit 469121e18a
8 changed files with 200 additions and 22 deletions

View file

@ -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();
}