14 lines
368 B
TypeScript
14 lines
368 B
TypeScript
import { Mesh, Color } from 'three';
|
|
import { Property } from '../types/property';
|
|
import { Brick } from './brick.object';
|
|
import { gameObjectFactory } from './factory';
|
|
|
|
export class Wedge extends Brick {
|
|
public objectType = Wedge.name;
|
|
protected mesh = new Mesh(this.geometry, this.material);
|
|
|
|
constructor() {
|
|
super(gameObjectFactory.wedgeGeometry);
|
|
}
|
|
}
|