HUH4SI4HXIP72KQSJP2I4ELHX5KUQZM7FFGKZZGJ33DF7E3JHMYQC selectedNode: NodeRef,selectedNodeHistory: NodeRef[],allocatedNodeSet: HashSet<NodeRef>,allocatedNodeHistory: NodeRef[],
selectedPointNode?: PointNodeRef,selectedPointNodeHistory: PointNodeRef[],allocatedPointNodeSet: HashSet<PointNodeRef>,allocatedPointNodeHistory: PointNodeRef[],
// class, so it can be hashedexport class NodeRef {public z: number;public chunkCoord: Vector2;public nodeCoord: Vector2;public nodeId: number;
export class PointNodeRef {public z!: number;public chunkCoord!: Vector2;public pointNodeCoord!: Vector2;public pointNodeId!: number;constructor(z: number, chunkCoord: Vector2, pointNodeCoord: Vector2, pointNodeId: number) {this.z = z;this.chunkCoord = chunkCoord;this.pointNodeCoord = pointNodeCoord;this.pointNodeId = pointNodeId;}
import { GameState } from "../data/GameState";export type GameStateConfig = any;export class GameStateFactory {public config: GameStateConfig;constructor(config: GameStateConfig) {this.config = config;}public create(): GameState {return {worldGen: null,player: null}}}
textFpsHud.x = this.app.screen.width;this.onResize.push(() => { textFpsHud.x = this.app.screen.width; });
// textFpsHud.x = this.app.screen.width;// this.onResize.push(() => { textFpsHud.x = this.app.screen.width; });// textFpsHud.anchor.x = 1; // right justifytextFpsHud.x = 0;