added: tinfoil hat1

This commit is contained in:
yourcoke 2020-11-20 11:00:31 +01:00
parent a6c8132f0a
commit 430201061d
No known key found for this signature in database
GPG Key ID: F2469FFA4FB136F6
3 changed files with 0 additions and 1596 deletions

18
maps/dist/computer.js vendored
View File

@ -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

View File

@ -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"}

File diff suppressed because it is too large Load Diff