diff options
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 |
