UNPKG
spatial-controls
Version:
latest (6.2.1)
6.2.1
6.2.0
6.1.2
6.1.1
6.1.0
6.0.2
6.0.1
6.0.0
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.3.2
4.3.1
4.3.0
4.2.3
4.2.2
4.2.1
4.2.0
4.1.0
4.0.2
4.0.1
4.0.0
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
1.0.0
Configurable 3D movement controls.
github.com/vanruesc/spatial-controls
spatial-controls
/
dist
/
types
/
strategies
/
Strategy.d.ts
15 lines
(14 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** * A strategy. * *
@group
Strategies */
export
interface
Strategy
{
/** * Executes this strategy. * *
@param
flag - A flag. *
@param
event - An event. */
execute
(
flag
:
boolean
, event?: Event):
void
; }