summaryrefslogtreecommitdiff
path: root/Player.ts
diff options
context:
space:
mode:
authorJ08nY2016-04-16 06:41:19 +0200
committerJ08nY2016-04-16 06:41:19 +0200
commit98dabd8fec5d2930add944997577a5f702013736 (patch)
tree24798a75df26cf252be1044a586cfe0d3604d4fa /Player.ts
parent6c5bbc5fa0bad633325fc3901a3c72c2c0ad64a5 (diff)
downloadld35-98dabd8fec5d2930add944997577a5f702013736.tar.gz
ld35-98dabd8fec5d2930add944997577a5f702013736.tar.zst
ld35-98dabd8fec5d2930add944997577a5f702013736.zip
atleast got typescript working
Diffstat (limited to 'Player.ts')
-rw-r--r--Player.ts15
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