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