public class JSControl
extends com.almasb.ents.AbstractControl
| Constructor and Description |
|---|
JSControl(String script)
Constructs new instance with given source, either string or filename.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onUpdate(com.almasb.ents.Entity entity,
double tpf) |
public JSControl(String script)
script - javascript sourceCopyright © 2016. All rights reserved.