Class

あらかじめ用意されている Class 一覧です。

Player

function (arg: Type[, ...]): returnValue
Sample
Description
stepBack(): void Player.stepBack(); 前いた場所に一歩後戻りします。

Math

function (arg: Type[, ...]): returnValue
Sample
Description
abs(val: Number): Number Math.abs(-3.14); 絶対値を返します
acos(val: Number): Number Math.acos(1);
asin(val: Number): Number Math.asin(1);
atan(val: Number): Number Math.atan(1);
atan2(y: Number, x: Number): Number Math.atan2(y, x);
ceil(val: Number): Number Math.ceil(3.14);
cos(radian: Number): Number Math.cos(3.14);
exp(val: Number): Number Math.exp(3);
floor(val: Number): Number Math.floor(3.14);
log(val: Number): Number Math.log(3);
max(val1: Number, val2: Number): Number Math.max(1, 2);
min(val1: Number, val2: Number): Number Math.min(1, 2);
pow(val1: Number, val2:Number): Number Math.pow(val1, val2);
random(): Number Math.random();
round(val: Number): Number Math.round(3.14);
sin(radian: Number): Number Math.sin(3.14);
sqrt(val: Number): Number Math.sqrt(3);
tan(radian: Number): Number Math.tan(3.14);