excalibur
Version:
Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.
14 lines (13 loc) • 514 B
TypeScript
/**
* Possible collision resolution strategies
*
* The default is {@apilink SolverStrategy.Arcade} which performs simple axis aligned arcade style physics. This is useful for things
* like platformers or top down games.
*
* More advanced rigid body physics are enabled by setting {@apilink SolverStrategy.Realistic} which allows for complicated
* simulated physical interactions.
*/
export declare enum SpatialPartitionStrategy {
DynamicTree = "dynamic-tree",
SparseHashGrid = "sparse-hash-grid"
}