Class | Description |
---|---|
ScriptBox |
Script box represents a box in the space
function main(c)
{
var subject = c.getSubject();
var subjectPosition = subject.getPosition();
var box = mappet.box(-10, 4, -10, 10, 6, 10);
if (box.contains(subjectPosition)){
c.send("the player in in the box")
}
}
|
ScriptVector |
Script vector (position) represents a position in the space
|