36 lines
595 B
Plaintext
36 lines
595 B
Plaintext
/**
|
|
* Description placeholder
|
|
* @global
|
|
* @param {*} Object
|
|
*/
|
|
class ActiveObject extends BaseObject {
|
|
constructor(Object) {
|
|
base.constructor(Object);
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @function
|
|
* @param {integer} x
|
|
* @param {integer} y
|
|
* @param {integer} z
|
|
* @returns {void}
|
|
*/
|
|
function SetSpeed(x, y, z) {
|
|
local CurSpeed = sq_GetSpeed(C_Object);
|
|
if (x == null) x = CurSpeed.x;
|
|
if (y == null) y = CurSpeed.y;
|
|
if (z == null) z = CurSpeed.z;
|
|
sq_SetSpeed(C_Object, x, y, z);
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @function
|
|
* @returns {any}
|
|
*/
|
|
function GetSpeed() {
|
|
return sq_GetSpeed(C_Object);
|
|
}
|
|
}
|