Black Trigram (흑괘) - API Documentation - v0.2.10
GitHub
Game Website
Preparing search index...
types/systems
PhysicsSystemInterface
Interface PhysicsSystemInterface
interface
PhysicsSystemInterface
{
addEntity
:
(
entityId
:
string
,
config
:
PhysicsEntityConfig
)
=>
void
;
applyForce
:
(
entityId
:
string
,
force
:
Velocity
)
=>
void
;
checkCollision
:
(
entityIdA
:
string
,
entityIdB
:
string
,
)
=>
null
|
CollisionData
;
getEntityState
:
(
entityId
:
string
)
=>
undefined
|
PhysicsEntityState
;
removeEntity
:
(
entityId
:
string
)
=>
void
;
update
:
(
deltaTime
:
number
)
=>
void
;
}
Index
Properties
add
Entity
apply
Force
check
Collision
get
Entity
State
remove
Entity
update
Properties
add
Entity
addEntity
:
(
entityId
:
string
,
config
:
PhysicsEntityConfig
)
=>
void
apply
Force
applyForce
:
(
entityId
:
string
,
force
:
Velocity
)
=>
void
check
Collision
checkCollision
:
(
entityIdA
:
string
,
entityIdB
:
string
)
=>
null
|
CollisionData
get
Entity
State
getEntityState
:
(
entityId
:
string
)
=>
undefined
|
PhysicsEntityState
remove
Entity
removeEntity
:
(
entityId
:
string
)
=>
void
update
update
:
(
deltaTime
:
number
)
=>
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Properties
add
Entity
apply
Force
check
Collision
get
Entity
State
remove
Entity
update
GitHub
Game Website
Black Trigram (흑괘) - API Documentation - v0.2.10
Loading...