summaryrefslogtreecommitdiff
path: root/ts/Player.ts
diff options
context:
space:
mode:
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