mc-beta-server/server/entities/EntityLiving.ts

20 lines
331 B
TypeScript
Raw Normal View History

2023-04-09 04:19:10 +01:00
import { World } from "../World";
import { Entity } from "./Entity";
export class EntityLiving extends Entity {
public yaw:number;
public pitch:number;
2023-04-09 04:47:23 +01:00
public onGround:boolean;
2023-04-09 04:19:10 +01:00
public constructor(world:World) {
super(world);
this.yaw = 0;
this.pitch = 0;
2023-04-09 04:47:23 +01:00
this.onGround = false;
2023-04-09 04:19:10 +01:00
}
onTick() {
super.onTick();
}
}