18 lines
280 B
TypeScript
18 lines
280 B
TypeScript
|
import { World } from "../World";
|
||
|
import { Entity } from "./Entity";
|
||
|
|
||
|
export class EntityLiving extends Entity {
|
||
|
public yaw:number;
|
||
|
public pitch:number;
|
||
|
|
||
|
public constructor(world:World) {
|
||
|
super(world);
|
||
|
|
||
|
this.yaw = 0;
|
||
|
this.pitch = 0;
|
||
|
}
|
||
|
|
||
|
onTick() {
|
||
|
super.onTick();
|
||
|
}
|
||
|
}
|