add player rotation display
This commit is contained in:
parent
bfb92c513d
commit
e502ca00de
3 changed files with 9 additions and 5 deletions
|
@ -5,9 +5,14 @@ import { query_in_rect } from "./world.ts";
|
|||
|
||||
export class CompDisplay {
|
||||
display;
|
||||
|
||||
constructor(display: string) {
|
||||
this.display = display;
|
||||
}
|
||||
|
||||
update(display: string) {
|
||||
this.display = display;
|
||||
}
|
||||
}
|
||||
|
||||
export function sys_render_world(center: Vec2, size: Vec2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue