@awayfl/awayfl-player
Version:
Flash Player emulator for executing SWF files (published for FP versions 6 and up) in javascript
17 lines (15 loc) • 400 B
text/typescript
import { b2AABB } from './b2AABB';
/**
* A node in the dynamic tree. The client does not interact with this directly.
* @private
*/
export class b2DynamicTreeNode {
public IsLeaf(): boolean {
return this.child1 == null;
}
public userData: any;
public aabb: b2AABB = new b2AABB();
public parent: b2DynamicTreeNode;
public child1: b2DynamicTreeNode;
public child2: b2DynamicTreeNode;
}