added: tinfoil hat1
This commit is contained in:
parent
a6c8132f0a
commit
430201061d
18
maps/dist/computer.js
vendored
18
maps/dist/computer.js
vendored
@ -1,18 +0,0 @@
|
||||
import * as Phaser from 'phaser';
|
||||
var Sprite = Phaser.GameObjects.Sprite;
|
||||
class MySprite extends Sprite {
|
||||
}
|
||||
export default {
|
||||
preload: (loader) => {
|
||||
loader.atlas('computer', '/resources/items/computer/computer.png', '/resources/items/computer/computer_atlas.json');
|
||||
},
|
||||
create: (scene) => {
|
||||
},
|
||||
factory: (scene, object) => {
|
||||
// Idée: ESSAYER WebPack? https://paultavares.wordpress.com/2018/07/02/webpack-how-to-generate-an-es-module-bundle/
|
||||
let foo = new MySprite(scene, object.x, object.y, 'computer');
|
||||
scene.add.existing(foo);
|
||||
//scene.add.sprite(object.x, object.y, 'computer');
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=computer.js.map
|
1
maps/dist/computer.js.map
vendored
1
maps/dist/computer.js.map
vendored
@ -1 +0,0 @@
|
||||
{"version":3,"file":"computer.js","sourceRoot":"","sources":["../objects/computer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,IAAO,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC;AAmC1C,MAAM,QAAS,SAAQ,MAAM;CAE5B;AAGD,eAAe;IACX,OAAO,EAAE,CAAC,MAAkC,EAAE,EAAE;QAC5C,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,wCAAwC,EAAE,+CAA+C,CAAC,CAAC;IACxH,CAAC;IACD,MAAM,EAAE,CAAC,KAAY,EAAE,EAAE;IAEzB,CAAC;IACD,OAAO,EAAE,CAAC,KAAY,EAAE,MAAuB,EAAE,EAAE;QAC/C,mHAAmH;QACnH,IAAI,GAAG,GAAG,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;QAC9D,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACxB,mDAAmD;IACvD,CAAC;CACJ,CAAC"}
|
1577
maps/yarn.lock
1577
maps/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user