diff options
| author | J08nY | 2016-04-16 06:41:19 +0200 |
|---|---|---|
| committer | J08nY | 2016-04-16 06:41:19 +0200 |
| commit | 98dabd8fec5d2930add944997577a5f702013736 (patch) | |
| tree | 24798a75df26cf252be1044a586cfe0d3604d4fa /Player.ts | |
| parent | 6c5bbc5fa0bad633325fc3901a3c72c2c0ad64a5 (diff) | |
| download | ld35-98dabd8fec5d2930add944997577a5f702013736.tar.gz ld35-98dabd8fec5d2930add944997577a5f702013736.tar.zst ld35-98dabd8fec5d2930add944997577a5f702013736.zip | |
atleast got typescript working
Diffstat (limited to 'Player.ts')
| -rw-r--r-- | Player.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Player.ts b/Player.ts new file mode 100644 index 0000000..07718d2 --- /dev/null +++ b/Player.ts @@ -0,0 +1,15 @@ +/// <reference path="three_js/ts/three.d.ts"/> +/// <reference path="physi_js/physijs.d.ts"/> + +import {Morph} from "./Morph"; + +export class Player extends Morph { + + constructor() { + let mat = new THREE.MeshBasicMaterial({ + color: 0x00b0a0, + shading: THREE.SmoothShading + }); + super(4, mat, 1); + } +}
\ No newline at end of file |
