summaryrefslogtreecommitdiff
path: root/ts/Player.ts
diff options
context:
space:
mode:
authorJ08nY2016-04-16 15:31:08 +0200
committerJ08nY2016-04-16 15:31:08 +0200
commitc5d0b945bf4dccc0e611d961f5f60dc3ded293e6 (patch)
treee5f749b6db3721860dcd72728b3233f4b54e072b /ts/Player.ts
parente56e60e81b9cf4ed56ff1ab4c1bf3f92985944b4 (diff)
downloadld35-c5d0b945bf4dccc0e611d961f5f60dc3ded293e6.tar.gz
ld35-c5d0b945bf4dccc0e611d961f5f60dc3ded293e6.tar.zst
ld35-c5d0b945bf4dccc0e611d961f5f60dc3ded293e6.zip
Diffstat (limited to 'ts/Player.ts')
-rw-r--r--ts/Player.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/ts/Player.ts b/ts/Player.ts
new file mode 100644
index 0000000..a118b64
--- /dev/null
+++ b/ts/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